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

FixAPIService
Shipped
April 27, 2026 at 5:26 AM UTC
Author
Kamo
Commit
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.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing