Carve /api/voip/recordings/** out of the wildcard VOIP forwarder

FixAPIService
ส่งแล้ว
27 เมษายน 2569 เวลา 05:26 UTC
ผู้เขียน
Kamo
ตั้งค่า
379c783

The /api/voip/** catch-all in APIGatewayController was shadowing the dedicated VoipRecordingUploadController POST /api/voip/recordings/upload mapping when Spring resolved cross-controller request mappings. Requests from kamo-asterisk-support were silently being proxied to VOIPService (which has no recording-upload endpoint) and coming back as 401/404. Add an explicit /api/voip/recordings/** carve-out next to the existing /api/voip/webhook and /api/voip/oauth/callback ones. The dedicated POST /api/voip/recordings/upload mapping is more specific and wins, so the controller actually runs; any other /recordings/ path returns a clean 404 instead of being forwarded to VOIPService.

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์