Hello, I am not sure what I am doing wrong but when I try to make outside calls to 1800 or local phone numbers asterisk tells me my call cannot be completed but all inbound calls seem to be working.
Here are some details if needed
FreePBX 16.0.40 Asterisk 18.16.0
Here are some logs from the asterisk cli
=101") in new stack
– Executing [s@macro-user-callerid:59] Set(“PJSIP/101-00000007”, “CHANNEL(language)=en”) in new stack
– Executing [18004444444@from-internal:2] Set(“PJSIP/101-00000007”, “ROUTEUSER=101”) in new stack
– Executing [18004444444@from-internal:3] Set(“PJSIP/101-00000007”, “ROUTEUSER=101”) in new stack
– Executing [18004444444@from-internal:4] GotoIf(“PJSIP/101-00000007”, “1?notblind”) in new stack
– Goto (from-internal,18004444444,7)
– Executing [18004444444@from-internal:7] GotoIf(“PJSIP/101-00000007”, “1?restrictedroute-cfcd208495d565ef66e7dff9f98764da,18004444444,2:outbound-allroutes,18004444444,2”) in new stack
– Goto (restrictedroute-cfcd208495d565ef66e7dff9f98764da,18004444444,2)
– Channel ‘PJSIP/101-00000007’ sent to invalid extension: context,exten,priority=restrictedroute-cfcd208495d565ef66e7dff9f98764da,18004444444,2
– Executing [i@restrictedroute-cfcd208495d565ef66e7dff9f98764da:1] Goto(“PJSIP/101-00000007”, “bad-number,s,1”) in new stack
– Goto (bad-number,s,1)
– Executing [s@bad-number:1] Goto(“PJSIP/101-00000007”, “11,1”) in new stack
– Goto (bad-number,11,1)
– Executing [11@bad-number:1] ResetCDR(“PJSIP/101-00000007”, “”) in new stack
– Executing [11@bad-number:2] NoCDR(“PJSIP/101-00000007”, “”) in new stack
– Executing [11@bad-number:3] Progress(“PJSIP/101-00000007”, “”) in new stack
– Executing [11@bad-number:4] Wait(“PJSIP/101-00000007”, “1”) in new stack
> 0x7fac60014ae0 – Strict RTP switching to RTP target address 192.168.1.38:4010 as source
– Executing [11@bad-number:5] Playback(“PJSIP/101-00000007”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <PJSIP/101-00000007> Playing ‘silence/1.ulaw’ (language ‘en’)
– <PJSIP/101-00000007> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
– <PJSIP/101-00000007> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
> 0x7fac60014ae0 – Strict RTP learning complete - Locking on source address 192.168.1.38:4010
– Executing [11@bad-number:6] Wait(“PJSIP/101-00000007”, “1”) in new stack
== Spawn extension (bad-number, 11, 6
) exited non-zero on ‘PJSIP/101-00000007’