<div>Hi all,</div>
<div> </div>
<div>           My issue was resolved. It was an issue with service provider.  I got help from some smart guys, they have helped me a lot to setup my PRI up and running. Thank you very much. </div>
<div> </div>
<div>Sample link may helpful to identify the simmilar issues : <a href="http://networking.ringofsaturn.com/Routers/isdncausecodes.php">http://networking.ringofsaturn.com/Routers/isdncausecodes.php</a><br></div>
<div> </div>
<div>I have removed crc4 from my /etc/dahdi/system.conf file, because BSNL in India not using crc4. </div>
<div> </div>
<div>Michael.k</div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Wed, Oct 19, 2011 at 10:43 AM, michael k <span dir="ltr">&lt;<a href="mailto:michael.inapp@gmail.com">michael.inapp@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hi List,</div>
<div> </div>
<div>           My all incoming calls are working fine but i cant make outgoing calls. There was no issues for both incoming and outgoing calls till yesterday.  Can somebody tell me what is the issue is ?. I have enable the dibugging in pri line by issue the command  &quot;pri set debug on span 1&quot;  on CLI. </div>

<div> </div>
<div><strong><u>The output of my outgoing call </u></strong></div>
<div> </div>
<div> </div>
<div> -- Executing [s@macro-outbound-callerid:12] ExecIf(&quot;SIP/2015-00000012&quot;, &quot;1?Set(CALLERID(all)=<a href="tel:08023515000" target="_blank" value="+918023515000">08023515000</a>)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:13] ExecIf(&quot;SIP/2015-00000012&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:14] ExecIf(&quot;SIP/2015-00000012&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:15] ExecIf(&quot;SIP/2015-00000012&quot;, &quot;0?Set(CALLERPRES()=prohib_passed_screen)&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:12] ExecIf(&quot;SIP/2015-00000012&quot;, &quot;0?AGI(fixlocalprefix)&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:13] Set(&quot;SIP/2015-00000012&quot;, &quot;OUTNUM=<a href="tel:9741735245" target="_blank" value="+919741735245">9741735245</a>&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:14] Set(&quot;SIP/2015-00000012&quot;, &quot;custom=DAHDI/g0&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:15] ExecIf(&quot;SIP/2015-00000012&quot;, &quot;0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:16] Macro(&quot;SIP/2015-00000012&quot;, &quot;dialout-trunk-predial-hook,&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(&quot;SIP/2015-00000012&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:17] GotoIf(&quot;SIP/2015-00000012&quot;, &quot;0?bypass,1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:18] GotoIf(&quot;SIP/2015-00000012&quot;, &quot;0?customtrunk&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:19] Dial(&quot;SIP/2015-00000012&quot;, &quot;DAHDI/g0/9741735245,300,&quot;) in new stack<br>-- Making new call for cref 32780<br>    -- Requested transfer capability: 0x00 - SPEECH</div>

<p>&gt; DL-DATA request<br>&gt; Protocol Discriminator: Q.931 (8)  len=44<br>&gt; TEI=0 Call Ref: len= 2 (reference 12/0xC) (Sent from originator)<br>&gt; Message Type: SETUP (5)<br>TEI=0 Transmitting N(S)=28, window is open V(A)=28 K=7</p>

<p>&gt; Protocol Discriminator: Q.931 (8)  len=44<br>&gt; TEI=0 Call Ref: len= 2 (reference 12/0xC) (Sent from originator)<br>&gt; Message Type: SETUP (5)<br>&gt; [04 03 80 90 a3]<br>&gt; Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: Speech (0)<br>
&gt;                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)<br>&gt;                                User information layer 1: A-Law (35)<br>&gt; [18 03 a1 83 81]<br>&gt; Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Preferred  Dchan: 0<br>
&gt;                       ChanSel: As indicated in following octets<br>&gt;                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3<br>&gt;                       Ext: 1  Channel: 1 Type: CPE]<br>&gt; [6c 0d 21 81 30 38 30 32 33 35 31 35 30 30 30]<br>
&gt; Calling Number (len=15) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<br>&gt;                           Presentation: Presentation permitted, user number passed network screening (1)  &#39;<a href="tel:08023515000" target="_blank" value="+918023515000">08023515000</a>&#39; ]<br>
&gt; [70 0b a1 39 37 34 31 37 33 35 32 34 35]<br>&gt; Called Number (len=13) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  &#39;<a href="tel:9741735245" target="_blank" value="+919741735245">9741735245</a>&#39; ]<br>
&gt; [a1]<br>&gt; Sending Complete (len= 1)<br>q931.c:5039 q931_setup: Call 32780 enters state 1 (Call Initiated).  Hold state: Idle<br>    -- Called g0/9741735245</p>
<div>&lt; Protocol Discriminator: Q.931 (8)  len=25<br>&lt; TEI=0 Call Ref: len= 2 (reference 12/0xC) (Sent to originator)<br>&lt; Message Type: RELEASE COMPLETE (90)<br>&lt; [08 03 02 80 95]<br>&lt; Cause (len= 5) [ Ext: 0  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Public network serving the local user (2)<br>
&lt;                  Ext: 1  Cause: Unknown (0), class = Normal Event (0) ]<br>&lt;              Cause data 1: 95 (149)<br>&lt; [28 0d 43 41 4c 4c 20 52 45 4a <a href="tel:45%2043%2054%2045%2044" target="_blank" value="+914543544544">45 43 54 45 44</a>]<br>
&lt; Display (len=13) [ CALL REJECTED ]<br>Received message for call 0x2aaaac108060 on 0x2aaaac0dc220 TEI/SAPI 0/0, call-&gt;pri is 0x2aaaac0dc220 TEI/SAPI 0/0<br>-- Processing IE 8 (cs0, Cause)<br>-- Processing IE 40 (cs0, Display)<br>
q931.c:7197 post_handle_q931_message: Call 32780 enters state 0 (Null).  Hold state: Idle<br>    -- Span 1: Channel 0/1 got hangup, cause 0<br>q931_hangup: other hangup<br>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null, hold-state Idle<br>
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null, hold-state Idle<br>    -- Hungup &#39;DAHDI/1-1&#39;<br>  == Everyone is busy/congested at this time (1:0/0/1)<br>    -- Executing [s@macro-dialout-trunk:20] NoOp(&quot;SIP/2015-00000012&quot;, &quot;Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:21] Goto(&quot;SIP/2015-00000012&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/2015-00000012&quot;, &quot;RC=0&quot;) in new stack<br>
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(&quot;SIP/2015-00000012&quot;, &quot;0,1&quot;) in new stack<br>    -- Goto (macro-dialout-trunk,0,1)<br>    -- Executing [99741735245@from-internal:5] Macro(&quot;SIP/2015-00000012&quot;, &quot;outisbusy,&quot;) in new stack<br>
    -- Executing [s@macro-outisbusy:1] Progress(&quot;SIP/2015-00000012&quot;, &quot;&quot;) in new stack<br>    -- Executing [s@macro-outisbusy:2] GotoIf(&quot;SIP/2015-00000012&quot;, &quot;0?emergency,1&quot;) in new stack<br>
    -- Executing [s@macro-outisbusy:3] GotoIf(&quot;SIP/2015-00000012&quot;, &quot;0?intracompany,1&quot;) in new stack<br>    -- Executing [s@macro-outisbusy:4] Playback(&quot;SIP/2015-00000012&quot;, &quot;all-circuits-busy-now&amp;pls-try-call-later, noanswer&quot;) in new stack<br>
    -- &lt;SIP/2015-00000012&gt; Playing &#39;all-circuits-busy-now.gsm&#39; (language &#39;en&#39;)<br>    -- &lt;SIP/2015-00000012&gt; Playing &#39;pls-try-call-later.gsm&#39; (language &#39;en&#39;)<br>  == Spawn extension (macro-outisbusy, s, 4) exited non-zero on &#39;SIP/2015-00000012&#39; in macro &#39;outisbusy&#39;<br>
  == Spawn extension (from-internal, 99741735245, 5) exited non-zero on &#39;SIP/2015-00000012&#39;<br>    -- Executing [h@from-internal:1] Macro(&quot;SIP/2015-00000012&quot;, &quot;hangupcall&quot;) in new stack<br>    -- Executing [s@macro-hangupcall:1] GotoIf(&quot;SIP/2015-00000012&quot;, &quot;1?skiprg&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,4)<br>    -- Executing [s@macro-hangupcall:4] GotoIf(&quot;SIP/2015-00000012&quot;, &quot;1?skipblkvm&quot;) in new stack<br>    -- Goto (macro-hangupcall,s,7)<br>    -- Executing [s@macro-hangupcall:7] GotoIf(&quot;SIP/2015-00000012&quot;, &quot;1?theend&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,9)<br>    -- Executing [s@macro-hangupcall:9] Hangup(&quot;SIP/2015-00000012&quot;, &quot;&quot;) in new stack<br>  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on &#39;SIP/2015-00000012&#39; in macro &#39;hangupcall&#39;<br>
  == Spawn extension (from-internal, h, 1) exited non-zero on &#39;SIP/2015-00000012&#39;<br>    -- Unregistered SIP &#39;2000&#39;<br></div>
<div> </div>
<div>Thanks,</div>
<div>Michael.k</div></blockquote></div><br>