Hi all, I am able to make outbound calls to most numbers, but I am having trouble making calls to 03XXXXXXXX number. I checked the dial patterns in my Outbound Route settings, but I have XXXXXXXXXX for 10 digit numbers. This setting allows me to call 04XXXXXXXX mobile numbers, and 02XXXXXXXX landline numbers. 03XXXXXXXX is a landline number, the 03 prefix is for another state.
Below is a log of a call I made:
-- Called SIP/mvoice-gong/03XXXXXXXX
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [[email protected]:23] NoOp("SIP/118-00000a1f", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
-- Executing [[email protected]:24] GotoIf("SIP/118-00000a1f", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [[email protected]:1] Set("SIP/118-00000a1f", "RC=1") in new stack
-- Executing [[email protected]:2] Goto("SIP/118-00000a1f", "1,1") in new stack
-- Goto (macro-dialout-trunk,1,1)
-- Executing [[email protected]:1] Goto("SIP/118-00000a1f", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [[email protected]:1] NoOp("SIP/118-00000a1f", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 1 - failing through to other trunks") in new stack
-- Executing [[email protected]:2] Set("SIP/118-00000a1f", "CALLERID(number)=118") in new stack
-- Executing [[email protected]:8] Macro("SIP/118-00000a1f", "outisbusy,") in new stack
-- Executing [[email protected]:1] Progress("SIP/118-00000a1f", "") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/118-00000a1f", "0?emergency,1") in new stack
-- Executing [[email protected]:3] GotoIf("SIP/118-00000a1f", "0?intracompany,1") in new stack
-- Executing [[email protected]:4] Playback("SIP/118-00000a1f", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/118-00000a1f> Playing 'all-circuits-busy-now.alaw' (language 'en')
> 0x7faa489d9000 -- Probation passed - setting RTP source address to 192.168.1.135:16460
-- <SIP/118-00000a1f> Playing 'pls-try-call-later.ulaw' (language 'en')
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/118-00000a1f' in macro 'outisbusy'
== Spawn extension (test, 03XXXXXXXX, 8) exited non-zero on 'SIP/118-00000a1f'
== Extension Changed 118[ext-local] new state Idle for Notify User 105
-- Executing [[email protected]:1] Macro("SIP/118-00000a1f", "hangupcall,") in new stack
== Extension Changed 118[ext-local] new state Idle for Notify User 111
-- Executing [[email protected]:1] GotoIf("SIP/118-00000a1f", "1?theend") in new stack
== Extension Changed 118[ext-local] new state Idle for Notify User 100
-- Goto (macro-hangupcall,s,3)
-- Executing [[email protected]:3] ExecIf("SIP/118-00000a1f", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [[email protected]:4] Hangup("SIP/118-00000a1f", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/118-00000a1f' in macro 'hangupcall'
== Spawn extension (test, h, 1) exited non-zero on 'SIP/118-00000a1f'
Below is my Trunk settings:
username=XXXXXX
type=peer
secret=********
host=example.com
fromuser=XXXXXX
authuser=XXXXXX
insecure=very