I am having trouble making outbound calls through a voip.ms trunk on a new FreePBX 15.0.16.81 install. I think I might have a dial pattern problem, but I can’t figure it out.
When I dial a 7-digit number (5551212), I get: https://pastebin.com/bEua1D1F
A 10-digit number (6185551212) gets me: https://pastebin.com/8s4iPerd
Dialing 11 digits (16185551212) gets me:
== Setting global variable ‘SIPDOMAIN’ to ‘10.10.2.1’
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
– Executing [16185551212@from-internal:1] ResetCDR(“PJSIP/202-0000003b”, “”) in new stack
– Executing [16185551212@from-internal:2] NoCDR(“PJSIP/202-0000003b”, “”) in new stack
– Executing [16185551212@from-internal:3] Progress(“PJSIP/202-0000003b”, “”) in new stack
– Executing [16185551212@from-internal:4] Wait(“PJSIP/202-0000003b”, “1”) in new stack
> 0x7f8354543650 – Strict RTP learning after remote address set to: 10.10.10.192:20142
> 0x7f8354543650 – Strict RTP switching to RTP target address 10.10.10.192:20142 as source
– Executing [16185551212@from-internal:5] Playback(“PJSIP/202-0000003b”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <PJSIP/202-0000003b> Playing ‘silence/1.ulaw’ (language ‘en’)
– <PJSIP/202-0000003b> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
– <PJSIP/202-0000003b> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
– Executing [h@from-internal:1] Macro(“PJSIP/202-0000003b”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/202-0000003b”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/202-0000003b”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“PJSIP/202-0000003b”, " montior file= ") in new stack
– Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/202-0000003b”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] Hangup(“PJSIP/202-0000003b”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/202-0000003b’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/202-0000003b’
My voip.ms trunk has dial patterns of:
Prepend 1618 (noprefix) NXXXXXX
Prepend 1 (noprefix) NXXNXXXXXX
In summary, dialing 7 and 10 digits give me the “All circuits are busy” message. Dialing 11 gives me the “Your call cannot be completed as dialed.” Interestingly, dialing the voip.ms echo test number, 4443, gets me the same “Your call cannot be completed as dialed” message.
Can somebody point me in the right direction?