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.<br><br>Try using a different dial pattern in your outbound route such as:<br><br>
1NXXNXXXXXX or 9|1NXXNXXXXXX<br><br>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.<br><br><div class="gmail_quote">
On Wed, Mar 21, 2012 at 12:48 AM, SamyGo <span dir="ltr"><<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is not in human readable format, but using my special powers I was able to locate the lines<div><br>-- Called fxosip/0799490994 <div>-- SIP/fxosip-00000015 is circuit-busy </div><div class="im"><div>== Everyone is busy/congested at this time (1:0/1/0) </div>
<div><br></div></div><div>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 !!</div>
<div><br></div><div>Regards,</div><div>Sammy.</div><div class="im"><div><br><div class="gmail_quote">On Wed, Mar 21, 2012 at 9:36 AM, James Mutuku <span dir="ltr"><<a href="mailto:listmutuku@gmail.com" target="_blank">listmutuku@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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@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@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@macro-dialout-trunk:1] [1;36mSet [0m(" [1;35mSIP/3000-00000014 [0m", " [1;35mRC=1 [0m") in new stack [0K -- Executing [s-CONGESTION@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@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@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@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@macro-dialout-trunk:4] [1;36mSet [0m(" [1;35mSIP/3000-00000014 [0m", [1;35mCALLERID(number)=3000 [0m") in new stack [0K -- Executing [90722490994@from-internal:5] [1;36mMacro [0m(" [1;35mSIP/3000-00000014 [0m", [1;35moutisbusy, [0m") in new stack [0K -- Executing [s@macro-outisbusy:1] [1;36mProgress [0m(" [1;35mSIP/3000-00000014 [0m", " [1;35m [0m") in new stack [0K -- Executing [s@macro-outisbusy:2] [1;36mGotoIf [0m(" [1;35mSIP/3000-00000014 [0m", [1;35m0?emergency,1 [0m") in new stack [0K -- Executing [s@macro-outisbusy:3] [1;36mGotoIf [0m(" [1;35mSIP/3000-00000014 [0m", [1;35m0?intracompany,1 [0m") in new stack [0K -- Executing [s@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 <a href="tel:%2B254722490994" value="+254722490994" target="_blank">+254722490994</a> <a href="http://www.agile.co.ke" target="_blank">www.agile.co.ke</a> Has your organization implemented a customer relationship management (CRM)system? visit <a href="http://www.agile.co.ke/crm.php" target="_blank">http://www.agile.co.ke/crm.php</a> and find out how our CRM can help you achieve better customer satisfaction and sales _____________________________________________________________________ -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> -- New to Asterisk? Join us for a live introductory webinar every Thurs: <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a> asterisk-users mailing list To UNSUBSCRIBE or update options visit: <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a> </blockquote>
</div><br></div></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>