Bandwidth.com IP auth trunk setup

Hi, I’m a new user working on setting up a multi-tenant system. I’m using bandwidth.com which just uses IP auth for calls. I have incoming calls working but outgoing calls are failing with the following shown in the asterisk console.

[2023-05-22 23:29:51] ERROR[923075]: res_pjsip.c:849 ast_sip_create_dialog_uac: Endpoint ‘bandwidth1’: Could not create dialog to invalid URI ‘bandwidth1’. Is endpoint registered and reachable?
[2023-05-22 23:29:51] ERROR[923075]: chan_pjsip.c:2672 request: Failed to create outgoing session to endpoint ‘bandwidth1’
[2023-05-22 23:29:51] NOTICE[926054][C-00000017]: app_dial.c:2707 dial_exec_full: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)

Any tips for what to try on this?
Thanks!

Remove 1.1.1.1 and sip:1.1.1.1

Then replace the remote host with the actual Bandwidth IP… ‘bandwidth’ is not a real host…

Then add the bandwidth IP to the match section as well.

Doh! Thank you!
I’d replaced the actual IPs with 1.1.1.1 rather than blurring my screenshot. I did however have bandwidth in the host field, not sure how I missed that obvious one. Working nicely now.

Nice post for my first one in this community :sweat_smile:.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.