KamoCRM

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

FixAPIService
Navios
27 de abril de 2026 às 05:26 UTC
Autor
Kamo
Enviar
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.

Todas as alterações

Como o que vês no transporte?

Tudo isso chega em seu espaço de trabalho por conta própria. Comece no plano gratuito e leia esta página novamente em um mês.

Começar Livre Para SempreVer Preços