[asterisk-users] Outgoing call failure

michael k michael at inapp.com
Wed Oct 19 00:14:47 CDT 2011


---------- Forwarded message ----------
From: michael k <michael.inapp at gmail.com>
Date: Wed, Oct 19, 2011 at 10:43 AM
Subject: Outgoing call failure
To: Asterisk Users Mailing List - Non-Commercial Discussion <
asterisk-users at lists.digium.com>


Hi List,

           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.

*The output of my outgoing call *


 -- Executing [s at macro-outbound-callerid:12] ExecIf("SIP/2015-00000012",
"1?Set(CALLERID(all)=08023515000)") in new stack
    -- Executing [s at macro-outbound-callerid:13] ExecIf("SIP/2015-00000012",
"0?Set(CALLERID(all)=)") in new stack
    -- Executing [s at macro-outbound-callerid:14] ExecIf("SIP/2015-00000012",
"0?Set(CALLERID(all)=)") in new stack
    -- Executing [s at macro-outbound-callerid:15] ExecIf("SIP/2015-00000012",
"0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s at macro-dialout-trunk:12] ExecIf("SIP/2015-00000012",
"0?AGI(fixlocalprefix)") in new stack
    -- Executing [s at macro-dialout-trunk:13] Set("SIP/2015-00000012",
"OUTNUM=9741735245") in new stack
    -- Executing [s at macro-dialout-trunk:14] Set("SIP/2015-00000012",
"custom=DAHDI/g0") in new stack
    -- Executing [s at macro-dialout-trunk:15] ExecIf("SIP/2015-00000012",
"0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
    -- Executing [s at macro-dialout-trunk:16] Macro("SIP/2015-00000012",
"dialout-trunk-predial-hook,") in new stack
    -- Executing [s at macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/2015-00000012", "") in new stack
    -- Executing [s at macro-dialout-trunk:17] GotoIf("SIP/2015-00000012",
"0?bypass,1") in new stack
    -- Executing [s at macro-dialout-trunk:18] GotoIf("SIP/2015-00000012",
"0?customtrunk") in new stack
    -- Executing [s at macro-dialout-trunk:19] Dial("SIP/2015-00000012",
"DAHDI/g0/9741735245,300,") in new stack
-- Making new call for cref 32780
    -- Requested transfer capability: 0x00 - SPEECH

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

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

Thanks,
Michael.k
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111019/4fc9b8db/attachment-0001.htm>


More information about the asterisk-users mailing list