<br><br>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">michael k</b> <span dir="ltr"><<a href="mailto:michael.inapp@gmail.com">michael.inapp@gmail.com</a>></span><br>Date: Wed, Oct 19, 2011 at 10:43 AM<br>
Subject: Outgoing call failure<br>To: Asterisk Users Mailing List - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br><br><br>
<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 "pri set debug on span 1" 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("SIP/2015-00000012", "1?Set(CALLERID(all)=<a href="tel:08023515000" target="_blank" value="+918023515000">08023515000</a>)") in new stack<br> -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2015-00000012", "0?Set(CALLERID(all)=)") in new stack<br>
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2015-00000012", "0?Set(CALLERID(all)=)") in new stack<br> -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2015-00000012", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack<br>
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/2015-00000012", "0?AGI(fixlocalprefix)") in new stack<br> -- Executing [s@macro-dialout-trunk:13] Set("SIP/2015-00000012", "OUTNUM=<a href="tel:9741735245" target="_blank" value="+919741735245">9741735245</a>") in new stack<br>
-- Executing [s@macro-dialout-trunk:14] Set("SIP/2015-00000012", "custom=DAHDI/g0") in new stack<br> -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2015-00000012", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack<br>
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/2015-00000012", "dialout-trunk-predial-hook,") in new stack<br> -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2015-00000012", "") in new stack<br>
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/2015-00000012", "0?bypass,1") in new stack<br> -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2015-00000012", "0?customtrunk") in new stack<br>
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/2015-00000012", "DAHDI/g0/9741735245,300,") in new stack<br>-- Making new call for cref 32780<br> -- Requested transfer capability: 0x00 - SPEECH</div>
<p>> DL-DATA request<br>> Protocol Discriminator: Q.931 (8) len=44<br>> TEI=0 Call Ref: len= 2 (reference 12/0xC) (Sent from originator)<br>> Message Type: SETUP (5)<br>TEI=0 Transmitting N(S)=28, window is open V(A)=28 K=7</p>
<p>> Protocol Discriminator: Q.931 (8) len=44<br>> TEI=0 Call Ref: len= 2 (reference 12/0xC) (Sent from originator)<br>> Message Type: SETUP (5)<br>> [04 03 80 90 a3]<br>> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)<br>
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)<br>> User information layer 1: A-Law (35)<br>> [18 03 a1 83 81]<br>> Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0<br>
> ChanSel: As indicated in following octets<br>> Ext: 1 Coding: 0 Number Specified Channel Type: 3<br>> Ext: 1 Channel: 1 Type: CPE]<br>> [6c 0d 21 81 30 38 30 32 33 35 31 35 30 30 30]<br>
> Calling Number (len=15) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<br>> Presentation: Presentation permitted, user number passed network screening (1) '<a href="tel:08023515000" target="_blank" value="+918023515000">08023515000</a>' ]<br>
> [70 0b a1 39 37 34 31 37 33 35 32 34 35]<br>> Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '<a href="tel:9741735245" target="_blank" value="+919741735245">9741735245</a>' ]<br>
> [a1]<br>> 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>< Protocol Discriminator: Q.931 (8) len=25<br>< TEI=0 Call Ref: len= 2 (reference 12/0xC) (Sent to originator)<br>< Message Type: RELEASE COMPLETE (90)<br>< [08 03 02 80 95]<br>< Cause (len= 5) [ Ext: 0 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the local user (2)<br>
< Ext: 1 Cause: Unknown (0), class = Normal Event (0) ]<br>< Cause data 1: 95 (149)<br>< [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>
< Display (len=13) [ CALL REJECTED ]<br>Received message for call 0x2aaaac108060 on 0x2aaaac0dc220 TEI/SAPI 0/0, call->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 'DAHDI/1-1'<br> == Everyone is busy/congested at this time (1:0/0/1)<br> -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/2015-00000012", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0") in new stack<br>
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/2015-00000012", "s-CHANUNAVAIL,1") in new stack<br> -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)<br> -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/2015-00000012", "RC=0") in new stack<br>
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/2015-00000012", "0,1") in new stack<br> -- Goto (macro-dialout-trunk,0,1)<br> -- Executing [99741735245@from-internal:5] Macro("SIP/2015-00000012", "outisbusy,") in new stack<br>
-- Executing [s@macro-outisbusy:1] Progress("SIP/2015-00000012", "") in new stack<br> -- Executing [s@macro-outisbusy:2] GotoIf("SIP/2015-00000012", "0?emergency,1") in new stack<br>
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/2015-00000012", "0?intracompany,1") in new stack<br> -- Executing [s@macro-outisbusy:4] Playback("SIP/2015-00000012", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack<br>
-- <SIP/2015-00000012> Playing 'all-circuits-busy-now.gsm' (language 'en')<br> -- <SIP/2015-00000012> Playing 'pls-try-call-later.gsm' (language 'en')<br> == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/2015-00000012' in macro 'outisbusy'<br>
== Spawn extension (from-internal, 99741735245, 5) exited non-zero on 'SIP/2015-00000012'<br> -- Executing [h@from-internal:1] Macro("SIP/2015-00000012", "hangupcall") in new stack<br> -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2015-00000012", "1?skiprg") in new stack<br>
-- Goto (macro-hangupcall,s,4)<br> -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2015-00000012", "1?skipblkvm") in new stack<br> -- Goto (macro-hangupcall,s,7)<br> -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2015-00000012", "1?theend") in new stack<br>
-- Goto (macro-hangupcall,s,9)<br> -- Executing [s@macro-hangupcall:9] Hangup("SIP/2015-00000012", "") in new stack<br> == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2015-00000012' in macro 'hangupcall'<br>
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2015-00000012'<br> -- Unregistered SIP '2000'<br></div>
<div> </div>
<div>Thanks,</div>
<div>Michael.k</div></div><br>