Hi All,<br><br>          I got a busy message like &quot;all lines are currently busy and please try again later&quot; in call to ZAP trunk.  Please help me to resolve this issue <br><br><br> == Using SIP RTP TOS bits 184<br>
  == Using SIP RTP CoS mark 5<br>    -- Executing [904712527270@from-internal:1] Macro(&quot;SIP/157-00000000&quot;, &quot;user-callerid,SKIPTTL,&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:1] Set(&quot;SIP/157-00000000&quot;, &quot;AMPUSER=157&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:2] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?report&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:3] ExecIf(&quot;SIP/157-00000000&quot;, &quot;1?Set(REALCALLERIDNUM=157)&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:4] Set(&quot;SIP/157-00000000&quot;, &quot;AMPUSER=157&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:5] Set(&quot;SIP/157-00000000&quot;, &quot;AMPUSERCIDNAME=Rojar S&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:6] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?report&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:7] Set(&quot;SIP/157-00000000&quot;, &quot;AMPUSERCID=157&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:8] Set(&quot;SIP/157-00000000&quot;, &quot;CALLERID(all)=&quot;Rojar S&quot; &lt;157&gt;&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:9] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?Set(CHANNEL(language)=)&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:10] GotoIf(&quot;SIP/157-00000000&quot;, &quot;1?continue&quot;) in new stack<br>    -- Goto (macro-user-callerid,s,19)<br>    -- Executing [s@macro-user-callerid:19] Set(&quot;SIP/157-00000000&quot;, &quot;CALLERID(number)=157&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:20] Set(&quot;SIP/157-00000000&quot;, &quot;CALLERID(name)=Rojar S&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:21] NoOp(&quot;SIP/157-00000000&quot;, &quot;Using CallerID &quot;Rojar S&quot; &lt;157&gt;&quot;) in new stack<br>
    -- Executing [904712527270@from-internal:2] Set(&quot;SIP/157-00000000&quot;, &quot;_NODEST=&quot;) in new stack<br>    -- Executing [904712527270@from-internal:3] Macro(&quot;SIP/157-00000000&quot;, &quot;record-enable,157,OUT,&quot;) in new stack<br>
    -- Executing [s@macro-record-enable:1] GotoIf(&quot;SIP/157-00000000&quot;, &quot;1?check&quot;) in new stack<br>    -- Goto (macro-record-enable,s,4)<br>    -- Executing [s@macro-record-enable:4] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?MacroExit()&quot;) in new stack<br>
    -- Executing [s@macro-record-enable:5] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?Group:OUT&quot;) in new stack<br>    -- Goto (macro-record-enable,s,15)<br>    -- Executing [s@macro-record-enable:15] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?IN&quot;) in new stack<br>
    -- Executing [s@macro-record-enable:16] ExecIf(&quot;SIP/157-00000000&quot;, &quot;1?MacroExit()&quot;) in new stack<br>    -- Executing [904712527270@from-internal:4] Macro(&quot;SIP/157-00000000&quot;, &quot;dialout-trunk,1,04712527270,,&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:1] Set(&quot;SIP/157-00000000&quot;, &quot;DIAL_TRUNK=1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:2] GosubIf(&quot;SIP/157-00000000&quot;, &quot;0?sub-pincheck,s,1&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:3] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?disabletrunk,1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:4] Set(&quot;SIP/157-00000000&quot;, &quot;DIAL_NUMBER=04712527270&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:5] Set(&quot;SIP/157-00000000&quot;, &quot;DIAL_TRUNK_OPTIONS=tr&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:6] Set(&quot;SIP/157-00000000&quot;, &quot;OUTBOUND_GROUP=OUT_1&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:7] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?nomax&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:8] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?chanfull&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:9] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?skipoutcid&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:10] Set(&quot;SIP/157-00000000&quot;, &quot;DIAL_TRUNK_OPTIONS=&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:11] Macro(&quot;SIP/157-00000000&quot;, &quot;outbound-callerid,1&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:1] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?Set(CALLERPRES()=)&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:2] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?Set(REALCALLERIDNUM=157)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:3] GotoIf(&quot;SIP/157-00000000&quot;, &quot;1?normcid&quot;) in new stack<br>
    -- Goto (macro-outbound-callerid,s,6)<br>    -- Executing [s@macro-outbound-callerid:6] Set(&quot;SIP/157-00000000&quot;, &quot;USEROUTCID=&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:7] Set(&quot;SIP/157-00000000&quot;, &quot;EMERGENCYCID=&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:8] Set(&quot;SIP/157-00000000&quot;, &quot;TRUNKOUTCID=&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:9] GotoIf(&quot;SIP/157-00000000&quot;, &quot;1?trunkcid&quot;) in new stack<br>
    -- Goto (macro-outbound-callerid,s,12)<br>    -- Executing [s@macro-outbound-callerid:12] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:13] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:14] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:15] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?Set(CALLERPRES()=prohib_passed_screen)&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:12] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?AGI(fixlocalprefix)&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:13] Set(&quot;SIP/157-00000000&quot;, &quot;OUTNUM=04712527270&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:14] Set(&quot;SIP/157-00000000&quot;, &quot;custom=DAHDI/1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:15] ExecIf(&quot;SIP/157-00000000&quot;, &quot;0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:16] Macro(&quot;SIP/157-00000000&quot;, &quot;dialout-trunk-predial-hook,&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(&quot;SIP/157-00000000&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:17] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?bypass,1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:18] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?customtrunk&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:19] Dial(&quot;SIP/157-00000000&quot;, &quot;DAHDI/1/04712527270,300,&quot;) in new stack<br>  == Everyone is busy/congested at this time (1:0/0/1)<br>    -- Executing [s@macro-dialout-trunk:20] NoOp(&quot;SIP/157-00000000&quot;, &quot;Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 66&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:21] Goto(&quot;SIP/157-00000000&quot;, &quot;s-CHANUNAVAIL,1&quot;) in new stack<br>    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)<br>    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(&quot;SIP/157-00000000&quot;, &quot;RC=66&quot;) in new stack<br>
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(&quot;SIP/157-00000000&quot;, &quot;66,1&quot;) in new stack<br>    -- Goto (macro-dialout-trunk,66,1)<br>    -- Executing [66@macro-dialout-trunk:1] Goto(&quot;SIP/157-00000000&quot;, &quot;continue,1&quot;) in new stack<br>
    -- Goto (macro-dialout-trunk,continue,1)<br>    -- Executing [continue@macro-dialout-trunk:1] GotoIf(&quot;SIP/157-00000000&quot;, &quot;1?noreport&quot;) in new stack<br>    -- Goto (macro-dialout-trunk,continue,3)<br>
    -- Executing [continue@macro-dialout-trunk:3] NoOp(&quot;SIP/157-00000000&quot;, &quot;TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 66 - failing through to other trunks&quot;) in new stack<br>    -- Executing [continue@macro-dialout-trunk:4] Set(&quot;SIP/157-00000000&quot;, &quot;CALLERID(number)=157&quot;) in new stack<br>
    -- Executing [904712527270@from-internal:5] Macro(&quot;SIP/157-00000000&quot;, &quot;outisbusy,&quot;) in new stack<br>    -- Executing [s@macro-outisbusy:1] Progress(&quot;SIP/157-00000000&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@macro-outisbusy:2] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?emergency,1&quot;) in new stack<br>    -- Executing [s@macro-outisbusy:3] GotoIf(&quot;SIP/157-00000000&quot;, &quot;0?intracompany,1&quot;) in new stack<br>
    -- Executing [s@macro-outisbusy:4] Playback(&quot;SIP/157-00000000&quot;, &quot;all-circuits-busy-now&amp;pls-try-call-later, noanswer&quot;) in new stack<br>    -- &lt;SIP/157-00000000&gt; Playing &#39;all-circuits-busy-now.gsm&#39; (language &#39;en&#39;)<br>
    -- &lt;SIP/157-00000000&gt; Playing &#39;pls-try-call-later.gsm&#39; (language &#39;en&#39;)<br>    -- Executing [s@macro-outisbusy:5] Congestion(&quot;SIP/157-00000000&quot;, &quot;20&quot;) in new stack<br>  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on &#39;SIP/157-00000000&#39; in macro &#39;outisbusy&#39;<br>
  == Spawn extension (from-internal, 904712527270, 5) exited non-zero on &#39;SIP/157-00000000&#39;<br>    -- Executing [h@from-internal:1] Macro(&quot;SIP/157-00000000&quot;, &quot;hangupcall&quot;) in new stack<br>    -- Executing [s@macro-hangupcall:1] GotoIf(&quot;SIP/157-00000000&quot;, &quot;1?skiprg&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,4)<br>    -- Executing [s@macro-hangupcall:4] GotoIf(&quot;SIP/157-00000000&quot;, &quot;1?skipblkvm&quot;) in new stack<br>    -- Goto (macro-hangupcall,s,7)<br>    -- Executing [s@macro-hangupcall:7] GotoIf(&quot;SIP/157-00000000&quot;, &quot;1?theend&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,9)<br>    -- Executing [s@macro-hangupcall:9] Hangup(&quot;SIP/157-00000000&quot;, &quot;&quot;) in new stack<br>  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on &#39;SIP/157-00000000&#39; in macro &#39;hangupcall&#39;<br>
  == Spawn extension (from-internal, h, 1) exited non-zero on &#39;SIP/157-00000000&#39;<br><br><br>Michael.k<br><br><br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 10:33 AM, Sam Govind <span dir="ltr">&lt;<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hey Warren I thought that these are the complete CLI logs for one call. It started like &quot;<span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">  == Using SIP RTP CoS mark 5</span>&quot; and from-internal priority-1 ..So that seemed legit to me. Yeah I too suspect that dialing rules are not being matched and thats why Gotoif&#39;s are failing.<br>

<br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Sep 29, 2011 at 8:15 PM, Warren Selby <span dir="ltr">&lt;<a href="mailto:wcselby@selbytech.com" target="_blank">wcselby@selbytech.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<div class="gmail_quote"><div><br>On Thu, Sep 29, 2011 at 7:51 AM, michael k <span dir="ltr">&lt;<a href="mailto:michael@inapp.com" target="_blank">michael@inapp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Thanks for the update. but how do i resolve this issue ? can you help me please ? <br></blockquote></div><div><br>You didn&#39;t provide a full CLI trace of the outgoing call, you only supplied the hangup portion of the call.  Please try again.<br>


<br>Also, what are the dialing rules like in your country?  You only have outbound dial patterns setup to handle North American numbers (8+ NXXNXXXXXX or 8+ NXXXXXX).<br>The Dial Pattern box in the Outbound Rules box is where you define what numbers you want to go out over this trunk.  If you dial a number that doesn&#39;t match one of these<br>


patterns, FreePBX is going to look internally for a dial pattern to match against, and if it doesn&#39;t find one there, it will end the call.<br><br><br>-- <br></div></div>Thanks,<br>--Warren Selby, dCAP<br><a href="http://www.selbytech.com" target="_blank">http://www.SelbyTech.com</a><br>


<br>
<br></div></div><div class="im">--<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></div></blockquote></div><br>
<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>