SANGOMA USBFXO U100: Cannot make an Outbound call

Joined
Sep 24, 2013
Messages
5
Points
0
Hello,
I am able to receive inbound calls without any problem (yet to get caller ID working).
Every time I make an outbound call I keep getting the message “All circuits are busy”
I’m sure It has to do with my dialplan, but I can’t seem to work out that is wrong.
Any help would be greately apprichiated.
Thanks in advance.

Elastix Version: 2.3
Asterisk: 1.8.11.0
[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no



;Sangoma AU100 [slot: bus: span:1] <wanpipe1>
context=from-zaptel
group=0
echocancel=yes
signalling = fxs_ks
channel => 1

context=from-zaptel
group=0
echocancel=yes
signalling = fxs_ks
channel => 2

[from-zaptel]

exten => s,1,wait(2)
exten => s,n,dial(sip/2001)
exten => s,n,dial(sip/2000)
exten => s,n,Playback(tt-weasels)


[my-phones]

exten => 2001,1,Answer()
exten => 2001,2,Dial(SIP/2001)
exten => _X.,1,Dial(Zap/1-1/${EXTEN})
exten => _X.,n,Hangup

TRUNK: ZAP Channel g0
Zap Identifier: g0



OUTput when trying to make an outbound call:
Connected to Asterisk 1.8.11.0 currently running on Elsx23 (pid = 3136)
Verbosity was 3 and is now 5
== Using SIP RTP CoS mark 5
-- Executing [907527187334@from-internal:1] Macro("SIP/2001-00000000", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/2001-00000000", "AMPUSER=2001") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/2001-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/2001-00000000", "1?Set(REALCALLERIDNUM=2001)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/2001-00000000", "AMPUSER=2001") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/2001-00000000", "AMPUSERCIDNAME=2001") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/2001-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2001-00000000", "AMPUSERCID=2001") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/2001-00000000", "CALLERID(all)="2001" <2001>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/2001-00000000", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/2001-00000000", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/2001-00000000", "CALLERID(number)=2001") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/2001-00000000", "CALLERID(name)=2001") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/2001-00000000", "Using CallerID "2001" <2001>") in new stack
-- Executing [907527187334@from-internal:2] NoOp("SIP/2001-00000000", "Calling Out Route: 9_outside") in new stack
-- Executing [907527187334@from-internal:3] Set("SIP/2001-00000000", "MOHCLASS=default") in new stack
-- Executing [907527187334@from-internal:4] Set("SIP/2001-00000000", "_NODEST=") in new stack
-- Executing [907527187334@from-internal:5] Macro("SIP/2001-00000000", "record-enable,2001,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2001-00000000", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/2001-00000000", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/2001-00000000", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/2001-00000000", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/2001-00000000", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:17] NoOp("SIP/2001-00000000", "Recording enable for 2001") in new stack
-- Executing [s@macro-record-enable:18] Set("SIP/2001-00000000", "CALLFILENAME=OUT2001-20131008-140558-1381237558.0") in new stack
-- Executing [s@macro-record-enable:19] Goto("SIP/2001-00000000", "record") in new stack
-- Goto (macro-record-enable,s,23)
-- Executing [s@macro-record-enable:23] MixMonitor("SIP/2001-00000000", "OUT2001-20131008-140558-1381237558.0.wav,,") in new stack
-- Executing [s@macro-record-enable:24] Set("SIP/2001-00000000", "CDR(userfield)=audio:OUT2001-20131008-140558-1381237558.0.wav") in new stack
-- Executing [s@macro-record-enable:25] MacroExit("SIP/2001-00000000", "") in new stack
-- Executing [907527187334@from-internal:6] Macro("SIP/2001-00000000", "dialout-trunk,1,07527187334,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/2001-00000000", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/2001-00000000", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2001-00000000", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/2001-00000000", "DIAL_NUMBER=07527187334") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/2001-00000000", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/2001-00000000", "OUTBOUND_GROUP=OUT_1") in new stack
== Begin MixMonitor Recording SIP/2001-00000000
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2001-00000000", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2001-00000000", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/2001-00000000", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/2001-00000000", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2001-00000000", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2001-00000000", "0?Set(REALCALLERIDNUM=2001)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2001-00000000", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/2001-00000000", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/2001-00000000", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/2001-00000000", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2001-00000000", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2001-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2001-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2001-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2001-00000000", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/2001-00000000", "1?sub-flp-1,s,1") in new stack
-- Executing [s@sub-flp-1:1] ExecIf("SIP/2001-00000000", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/2001-00000000", "OUTNUM=07527187334") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/2001-00000000", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2001-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/2001-00000000", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2001-00000000", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/2001-00000000", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2001-00000000", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/2001-00000000", "DAHDI/g0/07527187334,300,") in new stack
-- Called DAHDI/g0/07527187334
-- Hanging up on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] NoOp("SIP/2001-00000000", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/2001-00000000", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/2001-00000000", "RC=0") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/2001-00000000", "0,1") in new stack
-- Goto (macro-dialout-trunk,0,1)
-- Executing [0@macro-dialout-trunk:1] Goto("SIP/2001-00000000", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/2001-00000000", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/2001-00000000", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/2001-00000000", "CALLERID(number)=2001") in new stack
-- Executing [907527187334@from-internal:7] Macro("SIP/2001-00000000", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/2001-00000000", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/2001-00000000", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/2001-00000000", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/2001-00000000", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/2001-00000000> Playing 'all-circuits-busy-now.gsm' (language 'en')
-- <SIP/2001-00000000> Playing 'pls-try-call-later.gsm' (language 'en')
-- Executing [s@macro-outisbusy:5] Congestion("SIP/2001-00000000", "20") in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/2001-00000000' in macro 'outisbusy'
== Spawn extension (from-internal, 907527187334, 7) exited non-zero on 'SIP/2001-00000000'
-- Executing [h@from-internal:1] Macro("SIP/2001-00000000", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/2001-00000000", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:2] Set("SIP/2001-00000000", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT2001-20131008-140558-1381237558.0.wav") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/2001-00000000", "1?defaultmixmondir") in new stack
-- Goto (macro-hangupcall,s,5)
-- Executing [s@macro-hangupcall:5] System("SIP/2001-00000000", "test -e /var/spool/asterisk/monitor/OUT2001-20131008-140558-1381237558.0.wav") in new stack
-- Executing [s@macro-hangupcall:6] NoOp("SIP/2001-00000000", "SYSTEMSTATUS = SUCCESS") in new stack
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/2001-00000000", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/2001-00000000", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/2001-00000000", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/2001-00000000", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/2001-00000000", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/2001-00000000", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/2001-00000000", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/2001-00000000", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/2001-00000000", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/2001-00000000", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/2001-00000000", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/2001-00000000", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/2001-00000000' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2001-00000000'
== MixMonitor close filestream
 
Joined
Feb 13, 2008
Messages
99
Points
6
hello:
Are you sure with this : Called DAHDI/g0/07527187334 ? please try without the prefix 0, just dial 7527XXXXXX.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,993
Messages
131,109
Members
17,716
Latest member
Orbit114
Top