[asterisk-users] All circuits are busy now on outgoing trunk call

white hat whitehat238 at gmail.com
Tue Mar 20 23:57:04 CDT 2012


Just a guess here, but it looks like you are dialing a 10 digit phone
number but the dial pattern in your outbound route does not handle that.

Try using a different dial pattern in your outbound route such as:

1NXXNXXXXXX or 9|1NXXNXXXXXX

I believe that asterisk is telling you that all circuits are busy because
none of the outbound routes can be matched against the pattern you are
dialing.

On Wed, Mar 21, 2012 at 12:48 AM, SamyGo <govoiper at gmail.com> wrote:

> This is not in human readable format, but using my special powers I was
> able to locate the lines
>
> -- Called fxosip/0799490994
> -- SIP/fxosip-00000015 is circuit-busy
> == Everyone is busy/congested at this time (1:0/1/0)
>
> Please enable sip debug for this carrier and then try to send the sip
> traces in human readable format. From those traces it'd be more clear what
> is the issue from the carrier end rejecting the calls...Maybe your credit
> expired !!
>
> Regards,
> Sammy.
>
> On Wed, Mar 21, 2012 at 9:36 AM, James Mutuku <listmutuku at gmail.com>wrote:
>
>> I have setup  a trunk on freepbx and the outbound route. Everytime I dial
>> via the trunk, I get "all circuits are busy now". Incoming calls are
>> working fine on the trunk. This is my dial 9|XXXXXXX. and these are my peer
>> details allow=ulaw&alaw canredirect=no disallow=all dtmfmode=rfc2833
>> host=192.168.9.251 insecure=very type=peer Below are the logs.  my trunk
>> name is called fxosip Using SIP RTP TOS bits 184 [0K  == Using SIP RTP CoS
>> mark 5 [0K    -- Called fxosip/0799490994 [0K    -- SIP/fxosip-00000015 is
>> circuit-busy [0K  == Everyone is busy/congested at this time (1:0/1/0) [0K
>>    -- Executing [s at macro-dialout-trunk:20][1;36mNoOp [0m("
>> [1;35mSIP/3000-00000014 [0m", [1;35mDial failed for some reason with
>> DIALSTATUS = CONGESTION and HANGUPCAUSE = 1 [0m") in new stack [0K    --
>> Executing [s at macro-dialout-trunk:21] [1;36mGoto [0m("
>> [1;35mSIP/3000-00000014 [0m", [1;35ms-CONGESTION,1 [0m") in new stack [0K
>>  -- Goto (macro-dialout-trunk,s-CONGESTION,1) [0K    -- Executing
>> [s-CONGESTION at macro-dialout-trunk:1] [1;36mSet [0m("
>> [1;35mSIP/3000-00000014 [0m", " [1;35mRC=1 [0m") in new stack [0K    --
>> Executing [s-CONGESTION at macro-dialout-trunk:2] [1;36mGoto [0m("
>> [1;35mSIP/3000-00000014 [0m", " [1;35m1,1 [0m") in new stack [0K    -- Goto
>> (macro-dialout-trunk,1,1) [0K    -- Executing [1 at macro-dialout-trunk:1]
>> [1;36mGoto [0m(" [1;35mSIP/3000-00000014 [0m", [1;35mcontinue,1 [0m") in
>> new stack [0K    -- Goto (macro-dialout-trunk,continue,1) [0K    --
>> Executing [continue at macro-dialout-trunk:1] [1;36mGotoIf [0m("
>> [1;35mSIP/3000-00000014 [0m", [1;35m1?noreport [0m") in new stack [0K    --
>> Goto (macro-dialout-trunk,continue,3) [0K    -- Executing
>> [continue at macro-dialout-trunk:3] [1;36mNoOp [0m("
>> [1;35mSIP/3000-00000014 [0m", " [1;35mTRUNK Dial failed due to CONGESTION
>> HANGUPCAUSE: 1 - failing through to other trunks [0m") in new stack [0K
>>  -- Executing [continue at macro-dialout-trunk:4] [1;36mSet [0m("
>> [1;35mSIP/3000-00000014 [0m", [1;35mCALLERID(number)=3000 [0m") in new
>> stack [0K    -- Executing [90722490994 at from-internal:5] [1;36mMacro
>> [0m(" [1;35mSIP/3000-00000014 [0m", [1;35moutisbusy, [0m") in new stack [0K
>>    -- Executing [s at macro-outisbusy:1] [1;36mProgress [0m("
>> [1;35mSIP/3000-00000014 [0m", " [1;35m [0m") in new stack [0K    --
>> Executing [s at macro-outisbusy:2] [1;36mGotoIf [0m("
>> [1;35mSIP/3000-00000014 [0m", [1;35m0?emergency,1 [0m") in new stack [0K
>>  -- Executing [s at macro-outisbusy:3] [1;36mGotoIf [0m("
>> [1;35mSIP/3000-00000014 [0m", [1;35m0?intracompany,1 [0m") in new stack [0K
>>    -- Executing [s at macro-outisbusy:4] [1;36mPlayback [0m("
>> [1;35mSIP/3000-00000014 [0m",
>> [1;35mall-circuits-busy-now&pls-try-call-later, noanswer [0m") in new stack
>> [0K    -- <SIP/3000-00000014> Playing 'all-circuits-busy-now.gsm' (language
>> 'en') [0K  == Spawn extension (macro-outisbusy, s, 4) exited non-zero on
>> 'SIP/3000-00000014' in macro 'outisbusy'   == Spawn extension
>> (from-internal, 90722490994, 5) exited non-zero on 'SIP/3000-00000014' Best
>> Regards, James Mutuku Ndeti Agile Systems Limited +254722490994
>> www.agile.co.ke Has your organization implemented a customer
>> relationship management (CRM)system? visit http://www.agile.co.ke/crm.phpand find out how our CRM can help you achieve better customer satisfaction
>> and sales
>> _____________________________________________________________________ --
>> Bandwidth and Colocation Provided by http://www.api-digital.com -- New
>> to Asterisk? Join us for a live introductory webinar every Thurs:
>>      http://www.asterisk.org/hello asterisk-users mailing list To
>> UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120321/41c52673/attachment.htm>


More information about the asterisk-users mailing list