Outbound call: circuits are full

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

You got a “channel unacceptable” error on your dahdi dialout. You haven’t provided any information about your dahdi configuration.

Also, please note that you appear to be using FreePBX and people here are not familiar with the details of the FreePBX dialplans and AGI scripts.

in fact I’m using elastix , but since my problem seems to be related with the asterix put here the help request

chan_dahdi.conf

[code][trunkgroups]

[channels]
context=do91
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3[/code]

if any file is missing warn me
thank you

It’s almost certainly a configuration error, and therefore a problem with the software that was doing the configuring: Elastix.

Otherwise, you need to detail the hardware being used and also provide the part of your configuration where you specify the dahdi channels and groups.

You may want to involve the card manufacturer for support in configuring their card. (Digium provide their support on a commercial part of their web site, not on the peer support forums.)

I’m using chan_mobile with a bluetooth adapter connected to a mobile phone to make and receive calls, I can call the mobile phone and the call goes to extension correct but can not make them.

chan_mobile

[code][adapter]
id=blue1
address=00:15:as:3D:ww:23
interval=5

[5610]
address=ww:ww:09:64:5F:FB
port=13
context=do91
adapter=blue1
step 5
group=1
interval=5
[/code]

also i am using a ZAP Trunk (DAHDI compatibility Mode)