[asterisk-users] all our circuits are busy now
B.Masoud @ SH
info at saudihome.com
Tue Oct 20 18:58:34 CDT 2009
I just don't want Asterisk to play (all circuits are busy now) because by
default the call will go to the next route, here is the debug:
Where can I find and remove this message from?
Thanks
-- Accepting UNAUTHENTICATED call from 192.168.10.221:
> requested format = ulaw,
> requested prefs = (ulaw|alaw|gsm),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
-- Executing [0505103250 at from-internal:1] Macro("IAX2/99999-16336",
"user-callerid|SKIPTTL|") in new stack
-- Executing [s at macro-user-callerid:1] Set("IAX2/99999-16336",
"AMPUSER=100") in new stack
-- Executing [s at macro-user-callerid:2] GotoIf("IAX2/99999-16336",
"0?report") in new stack
-- Executing [s at macro-user-callerid:3] ExecIf("IAX2/99999-16336",
"1|Set|REALCALLERIDNUM=100") in new stack
-- Executing [s at macro-user-callerid:4] Set("IAX2/99999-16336",
"AMPUSER=100") in new stack
-- Executing [s at macro-user-callerid:5] Set("IAX2/99999-16336",
"AMPUSERCIDNAME=100") in new stack
-- Executing [s at macro-user-callerid:6] GotoIf("IAX2/99999-16336",
"0?report") in new stack
-- Executing [s at macro-user-callerid:7] Set("IAX2/99999-16336",
"AMPUSERCID=100") in new stack
-- Executing [s at macro-user-callerid:8] Set("IAX2/99999-16336",
"CALLERID(all)="100" <100>") in new stack
-- Executing [s at macro-user-callerid:9] Set("IAX2/99999-16336",
"REALCALLERIDNUM=100") in new stack
-- Executing [s at macro-user-callerid:10] ExecIf("IAX2/99999-16336",
"0|Set|CHANNEL(language)=") in new stack
-- Executing [s at macro-user-callerid:11] GotoIf("IAX2/99999-16336",
"1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s at macro-user-callerid:20] NoOp("IAX2/99999-16336", "Using
CallerID "100" <100>") in new stack
-- Executing [0505103250 at from-internal:2] Set("IAX2/99999-16336",
"_NODEST=") in new stack
-- Executing [0505103250 at from-internal:3] Macro("IAX2/99999-16336",
"record-enable|100|OUT|") in new stack
-- Executing [s at macro-record-enable:1] GotoIf("IAX2/99999-16336",
"1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s at macro-record-enable:4] AGI("IAX2/99999-16336",
"recordingcheck|20091021-025401|1256082841.6269") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20091021-025401|1256082841.6269: Outbound recording not
enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s at macro-record-enable:5] MacroExit("IAX2/99999-16336", "")
in new stack
-- Executing [0505103250 at from-internal:4] Macro("IAX2/99999-16336",
"dialout-trunk|4|0505103250||") in new stack
-- Executing [s at macro-dialout-trunk:1] Set("IAX2/99999-16336",
"DIAL_TRUNK=4") in new stack
-- Executing [s at macro-dialout-trunk:2] GosubIf("IAX2/99999-16336",
"0?sub-pincheck|s|1") in new stack
-- Executing [s at macro-dialout-trunk:3] GotoIf("IAX2/99999-16336",
"0?disabletrunk|1") in new stack
-- Executing [s at macro-dialout-trunk:4] Set("IAX2/99999-16336",
"DIAL_NUMBER=0505103250") in new stack
-- Executing [s at macro-dialout-trunk:5] Set("IAX2/99999-16336",
"DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s at macro-dialout-trunk:6] Set("IAX2/99999-16336",
"OUTBOUND_GROUP=OUT_4") in new stack
-- Executing [s at macro-dialout-trunk:7] GotoIf("IAX2/99999-16336",
"1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s at macro-dialout-trunk:9] GotoIf("IAX2/99999-16336",
"0?skipoutcid") in new stack
-- Executing [s at macro-dialout-trunk:10] Set("IAX2/99999-16336",
"DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s at macro-dialout-trunk:11] Macro("IAX2/99999-16336",
"outbound-callerid|4") in new stack
-- Executing [s at macro-outbound-callerid:1] ExecIf("IAX2/99999-16336",
"0|SetCallerPres|") in new stack
-- Executing [s at macro-outbound-callerid:2] ExecIf("IAX2/99999-16336",
"0|Set|REALCALLERIDNUM=100") in new stack
-- Executing [s at macro-outbound-callerid:3] GotoIf("IAX2/99999-16336",
"1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s at macro-outbound-callerid:6] Set("IAX2/99999-16336",
"USEROUTCID=") in new stack
-- Executing [s at macro-outbound-callerid:7] Set("IAX2/99999-16336",
"EMERGENCYCID=") in new stack
-- Executing [s at macro-outbound-callerid:8] Set("IAX2/99999-16336",
"TRUNKOUTCID=") in new stack
-- Executing [s at macro-outbound-callerid:9] GotoIf("IAX2/99999-16336",
"1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s at macro-outbound-callerid:12] ExecIf("IAX2/99999-16336",
"0|Set|CALLERID(all)=") in new stack
-- Executing [s at macro-outbound-callerid:13] GotoIf("IAX2/99999-16336",
"1?exit") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing [s at macro-outbound-callerid:11]
MacroExit("IAX2/99999-16336", "") in new stack
-- Executing [s at macro-dialout-trunk:12] ExecIf("IAX2/99999-16336",
"0|AGI|fixlocalprefix") in new stack
-- Executing [s at macro-dialout-trunk:13] Set("IAX2/99999-16336",
"OUTNUM=0505103250") in new stack
-- Executing [s at macro-dialout-trunk:14] Set("IAX2/99999-16336",
"custom=DAHDI/r1") in new stack
-- Executing [s at macro-dialout-trunk:15] ExecIf("IAX2/99999-16336",
"0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s at macro-dialout-trunk:16] Macro("IAX2/99999-16336",
"dialout-trunk-predial-hook|") in new stack
-- Executing [s at macro-dialout-trunk-predial-hook:1]
MacroExit("IAX2/99999-16336", "") in new stack
-- Executing [s at macro-dialout-trunk:17] GotoIf("IAX2/99999-16336",
"0?bypass|1") in new stack
-- Executing [s at macro-dialout-trunk:18] GotoIf("IAX2/99999-16336",
"0?customtrunk") in new stack
-- Executing [s at macro-dialout-trunk:19] Dial("IAX2/99999-16336",
"DAHDI/r1/0505103250|300|") in new stack
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s at macro-dialout-trunk:20] Goto("IAX2/99999-16336",
"s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION at macro-dialout-trunk:1]
GotoIf("IAX2/99999-16336", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing [s-CONGESTION at macro-dialout-trunk:3]
NoOp("IAX2/99999-16336", "TRUNK Dial failed due to CONGESTION - failing
through to other trunks") in new stack
-- Executing [0505103250 at from-internal:5] Macro("IAX2/99999-16336",
"outisbusy|") in new stack
-- Executing [s at macro-outisbusy:1] Playback("IAX2/99999-16336",
"all-circuits-busy-now|noanswer") in new stack
-- <IAX2/99999-16336> Playing 'all-circuits-busy-now' (language 'en')
-- Executing [s at macro-outisbusy:2] Playback("IAX2/99999-16336",
"pls-try-call-later|noanswer") in new stack
-- <IAX2/99999-16336> Playing 'pls-try-call-later' (language 'en')
-- Executing [s at macro-outisbusy:3] Macro("IAX2/99999-16336",
"hangupcall") in new stack
-- Executing [s at macro-hangupcall:1] ResetCDR("IAX2/99999-16336", "w") in
new stack
-- Executing [s at macro-hangupcall:2] NoCDR("IAX2/99999-16336", "") in new
stack
-- Executing [s at macro-hangupcall:3] GotoIf("IAX2/99999-16336",
"1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s at macro-hangupcall:6] GotoIf("IAX2/99999-16336",
"1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s at macro-hangupcall:9] GotoIf("IAX2/99999-16336",
"1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s at macro-hangupcall:11] Hangup("IAX2/99999-16336", "") in
new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'IAX2/99999-16336' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on
'IAX2/99999-16336' in macro 'outisbusy'
== Spawn extension (from-internal, 0505103250, 5) exited non-zero on
'IAX2/99999-16336'
-- Executing [h at from-internal:1] Macro("IAX2/99999-16336", "hangupcall")
in new stack
-- Executing [s at macro-hangupcall:1] ResetCDR("IAX2/99999-16336", "w") in
new stack
-- Executing [s at macro-hangupcall:2] NoCDR("IAX2/99999-16336", "") in new
stack
-- Executing [s at macro-hangupcall:3] GotoIf("IAX2/99999-16336",
"1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s at macro-hangupcall:6] GotoIf("IAX2/99999-16336",
"1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s at macro-hangupcall:9] GotoIf("IAX2/99999-16336",
"1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s at macro-hangupcall:11] Hangup("IAX2/99999-16336", "") in
new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'IAX2/99999-16336' in macro 'hangupcall'
== Spawn extension (from-internal, s, 1) exited non-zero on
'IAX2/99999-16336'
-- Hungup 'IAX2/99999-16336'
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Riddell
Sent: Tuesday, October 20, 2009 4:35 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] all our circuits are busy now
On 20/10/09 1:30 PM, B.Masoud @ SH wrote:
> I am not sure why I am getting this message,
>
> I have an outbound route that goes to asterisk gateway1 then asterisk
> gateway2
>
> When all lines on asterisk gateway1 are full, I get the message " all
> our circuits are busy now" then few second later, the phone rings, going
> to the second route! And the call can be established, how can I get rid
> of this message??
On Asterisk 2 set the group to outbound lines or something, then check
the number of channels in that group before making a call - if it's more
than you have lines then respond with busy or something.
--
Cheers,
Matt Riddell
Director
_______________________________________________
http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list