Dial Pattern Challenges

Hi Gregory!

As expected with the logs you had provided after the issue does not appear to be one of dial plan/route but something most likely wrong with your trunk or a networking related issue…

What do you have as firewall/router? Does it have anything that could get in the way such as SIP alg?

Can you try to do a PJSIP trace while you place a call using the following information:

https://blogs.asterisk.org/2016/02/24/debugging-sip-message-traffic-with-pjsip-history/

Essentially it’s something along the lines of

pjsip set history on
pjsip set logger

Then place a call followed by

pjsip set history off
pjsip show history

Please post the list it shows and anything that stands out like the 401 Unauthorized in the example.

(Do a pjsip show history entry followed by the line number on which it is (1 based).)

Hopefully we are going to find something in there which might explain what is happening…

Good luck and have a nice day!

Nick