External Calls Aren't Forwarding to External Numbers

Hello!

I’ve recently starting have the issue of external calls not forwarding to external numbers. We recently swapped providers from Sangoma to Telnyx and I’ve traced the issue to around that time. I’ve done my best to set things up properly, I inherited the server from the previous guy.

If the call is internal it forwards just fine. So 1430 >> 9999 >> 1-860-123-4567, that’ll work fine.
If it starts externally it’ll fail: 1-860-555-5555 >> 1430 >> 9999 >> 1-860-123-4567

I ran tail -f /var/log/asterisk/full here is a pastebin of the output: [2025-04-08 08:41:22] VERBOSE[8265][C-0000869c] pbx.c: Executing [s@ivr-3:3] Set - Pastebin.com

Any help would be appreciated.

You probably need a pcap of the sip messaging to your provider. My guess would be that they are blocking your calls because the CID you are sending is not a number that you own and they think that you’re spoofing.

I took a look and couldn’t find the failed calls in their SIP logs. I’ve reached out to their support about this and they thought it was a misconfigured dial plan, but those haven’t changed.

Prior to making this post I tried using the External CID configuration to match the dialed number. Call still failed.

Fixed it!

I did not have dial patterns in my outbound route set for external numbers to external numbers

Added:

NXXNXXXXXX >>> NXXNXXXXXX
1NXXNXXXXXX >>> 1NXXNXXXXXX
1NXXNXXXXXX >>> NXXNXXXXXX
NXXNXXXXXX >>> 1NXXNXXXXXX

and I’m all set now.

1 Like

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