Hello
I’m a bit new to asterik, it can receive calls using chan_mobile(Inbound), but when I try to do calls (Outbound) says circuits are full.
And calls getting disconnect after that.
log:
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [910000000@from-internal:1] Macro("SIP/91000-00000000", "user-callerid,SKIPTTL,") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/91000-00000000", "AMPUSER=91000") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/91000-00000000", "0?report") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/91000-00000000", "1?Set(REALCALLERIDNUM=91000)") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/91000-00000000", "AMPUSER=91000") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/91000-00000000", "AMPUSERCIDNAME=pc") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/91000-00000000", "0?report") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/91000-00000000", "AMPUSERCID=91000") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/91000-00000000", "CALLERID(all)="pc" <91000>") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/91000-00000000", "0?Set(CHANNEL(language)=)") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/91000-00000000", "1?continue") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-user-callerid,s,19)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:19] Set("SIP/91000-00000000", "CALLERID(number)=91000") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:20] Set("SIP/91000-00000000", "CALLERID(name)=pc") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-user-callerid:21] NoOp("SIP/91000-00000000", "Using CallerID "pc" <91000>") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [910000000@from-internal:2] NoOp("SIP/91000-00000000", "Calling Out Route: 9_outside") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [910000000@from-internal:3] Set("SIP/91000-00000000", "_NODEST=") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [910000000@from-internal:4] Macro("SIP/91000-00000000", "record-enable,91000,OUT,") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/91000-00000000", "1?check") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-record-enable,s,4)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/91000-00000000", "0?MacroExit()") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/91000-00000000", "0?Group:OUT") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-record-enable,s,15)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/91000-00000000", "0?IN") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("SIP/91000-00000000", "1?MacroExit()") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [910000000@from-internal:5] Macro("SIP/91000-00000000", "dialout-trunk,1,18151166,") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/91000-00000000", "DIAL_TRUNK=1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/91000-00000000", "0?sub-pincheck,s,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/91000-00000000", "0?disabletrunk,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/91000-00000000", "DIAL_NUMBER=18151166") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/91000-00000000", "DIAL_TRUNK_OPTIONS=tr") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/91000-00000000", "OUTBOUND_GROUP=OUT_1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/91000-00000000", "1?nomax") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/91000-00000000", "0?skipoutcid") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/91000-00000000", "DIAL_TRUNK_OPTIONS=") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/91000-00000000", "outbound-callerid,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/91000-00000000", "0?Set(CALLERPRES()=)") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/91000-00000000", "0?Set(REALCALLERIDNUM=91000)") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/91000-00000000", "1?normcid") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/91000-00000000", "USEROUTCID=") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/91000-00000000", "EMERGENCYCID=") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/91000-00000000", "TRUNKOUTCID=") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/91000-00000000", "1?trunkcid") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-outbound-callerid,s,12)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/91000-00000000", "0?Set(CALLERID(all)=)") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/91000-00000000", "0?Set(CALLERID(all)=)") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/91000-00000000", "0?Set(CALLERID(all)=)") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/91000-00000000", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/91000-00000000", "0?sub-flp-1,s,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/91000-00000000", "OUTNUM=18151166") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/91000-00000000", "custom=DAHDI/g0") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/91000-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/91000-00000000", "dialout-trunk-predial-hook,") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/91000-00000000", "") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/91000-00000000", "0?bypass,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/91000-00000000", "0?customtrunk") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/91000-00000000", "DAHDI/g0/18151166,300,") in new stack
[May 14 15:33:20] WARNING[3132] app_dial.c: Unable to create channel of type 'DAHDI' (cause 6 - Channel unacceptable)
[May 14 15:33:20] VERBOSE[3132] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/91000-00000000", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 6") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-dialout-trunk:21] Goto("SIP/91000-00000000", "s-CHANUNAVAIL,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/91000-00000000", "RC=6") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/91000-00000000", "6,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-dialout-trunk,6,1)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [6@macro-dialout-trunk:1] Goto("SIP/91000-00000000", "continue,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/91000-00000000", "1?noreport") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Goto (macro-dialout-trunk,continue,3)
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/91000-00000000", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 6 - failing through to other trunks") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [continue@macro-dialout-trunk:4] Set("SIP/91000-00000000", "CALLERID(number)=91000") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [910000000@from-internal:6] Macro("SIP/91000-00000000", "outisbusy,") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outisbusy:1] Progress("SIP/91000-00000000", "") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/91000-00000000", "0?emergency,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outisbusy:3] GotoIf("SIP/91000-00000000", "0?intracompany,1") in new stack
[May 14 15:33:20] VERBOSE[3132] pbx.c: -- Executing [s@macro-outisbusy:4] Playback("SIP/91000-00000000", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[May 14 15:33:20] VERBOSE[3132] file.c: -- <SIP/91000-00000000> Playing 'all-circuits-busy-now.gsm' (language 'en')
[May 14 15:33:22] VERBOSE[3132] file.c: -- <SIP/91000-00000000> Playing 'pls-try-call-later.gsm' (language 'en')
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-outisbusy:5] Congestion("SIP/91000-00000000", "20") in new stack
[May 14 15:33:24] WARNING[3132] channel.c: Prodding channel 'SIP/91000-00000000' failed
[May 14 15:33:24] VERBOSE[3132] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/91000-00000000' in macro 'outisbusy'
[May 14 15:33:24] VERBOSE[3132] pbx.c: == Spawn extension (from-internal, 910000000, 6) exited non-zero on 'SIP/91000-00000000'
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [h@from-internal:1] Macro("SIP/91000-00000000", "hangupcall") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/91000-00000000", "1?endmixmoncheck") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Goto (macro-hangupcall,s,9)
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/91000-00000000", "End of MIXMON check") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/91000-00000000", "1?nomeetmemon") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Goto (macro-hangupcall,s,28)
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:28] NoOp("SIP/91000-00000000", "End of MEETME check") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/91000-00000000", "1?noautomon") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Goto (macro-hangupcall,s,34)
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:34] NoOp("SIP/91000-00000000", "TOUCH_MONITOR_OUTPUT=") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:35] GotoIf("SIP/91000-00000000", "1?noautomon2") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Goto (macro-hangupcall,s,41)
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:41] NoOp("SIP/91000-00000000", "MONITOR_FILENAME=") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:42] GotoIf("SIP/91000-00000000", "1?skiprg") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Goto (macro-hangupcall,s,45)
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:45] GotoIf("SIP/91000-00000000", "1?skipblkvm") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Goto (macro-hangupcall,s,48)
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:48] GotoIf("SIP/91000-00000000", "1?theend") in new stack
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Goto (macro-hangupcall,s,50)
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:50] AGI("SIP/91000-00000000", "hangup.agi") in new stack
[May 14 15:33:24] VERBOSE[3132] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
[May 14 15:33:24] VERBOSE[3132] res_agi.c: -- <SIP/91000-00000000>AGI Script hangup.agi completed, returning 0
[May 14 15:33:24] VERBOSE[3132] pbx.c: -- Executing [s@macro-hangupcall:51] Hangup("SIP/91000-00000000", "") in new stack
[May 14 15:33:24] VERBOSE[3132] app_macro.c: == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/91000-00000000' in macro 'hangupcall'
[May 14 15:33:24] VERBOSE[3132] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/91000-00000000'
extensions
[do91]
exten => s,1,Noop(Entering macro-do91 with DID = ${DID} and setting to: 91)
exten => s,n,Set(__FROM_DID=91)
exten => s,n,Goto(from-trunk,91,1)[/code]
sip [code]
[91000]
deny=0.0.0.0/0.0.0.0
secret=planet2013
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/91000
mailbox=91000@device
permit=0.0.0.0/0.0.0.0
callerid=device <91000>
callcounter=yes
faxdetect=no
I kindly request help with this.
Thanks you.
ps: sorry for my english xD