[asterisk-bugs] [Asterisk 0010343]: ZAP-channel terminates after 3 seconds with hangup cause 18

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 31 10:17:24 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10343 
====================================================================== 
Reported By:                Netview
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10343
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-31-2007 09:45 CDT
Last Modified:              07-31-2007 10:17 CDT
====================================================================== 
Summary:                    ZAP-channel terminates after 3 seconds with hangup
cause 18
Description: 
I receive a hangup cause 18 on the outgoing zap-channel.

example: exten => 52,1,Dial(Zap/g1/52},,)

asterisk version is 1.4.9 (1.4.9+bristuff-0.4.0-test4)
zaptel 1.4.4
libpri 1.4.1
====================================================================== 

---------------------------------------------------------------------- 
 Netview - 07-31-07 10:17  
---------------------------------------------------------------------- 
-- Executing GotoIf("SIP/7930-0822b270", "1?2:35") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,2)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?35:3") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,3)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?35:4") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,4)

fli4l*CLI> 
    -- Executing NoCDR("SIP/7930-0822b270", "") in new stack

fli4l*CLI> 
Jul 31 17:28:37 NOTICE[6499]: cdr.c:443 ast_cdr_free: CDR on channel
'SIP/7930-0822b270' not posted

fli4l*CLI> 
Jul 31 17:28:37 NOTICE[6499]: cdr.c:445 ast_cdr_free: CDR on channel
'SIP/7930-0822b270' lacks end

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?11:6") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,6)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?19:7") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,7)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?17:8") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,8)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?13:9") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,9)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?15:10") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,10)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "1?15:20") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,15)

fli4l*CLI> 
    -- Executing Set("SIP/7930-0822b270", "CALLERID(number)=27") in new
stack

fli4l*CLI> 
    -- Executing Goto("SIP/7930-0822b270", "20") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,20)

fli4l*CLI> 
    -- Executing Set("SIP/7930-0822b270", "CALLERID(name)=27") in new
stack

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?22:24") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,24)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?25:27") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,27)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?28:30") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,30)

fli4l*CLI> 
    -- Executing GotoIf("SIP/7930-0822b270", "0?31:33") in new stack

fli4l*CLI> 
    -- Goto (outbound,52,33)

fli4l*CLI> 
    -- Executing Dial("SIP/7930-0822b270", "Zap/g1/52&Zap/g2/52||Tt") in
new stack

fli4l*CLI> 
1 -- Making new call for cr 132

fli4l*CLI> 
    -- Requested transfer capability: 0x00 - SPEECH

fli4l*CLI> 
1 > Protocol Discriminator: Q.931 (8)  len=31

fli4l*CLI> 
1 > Call Ref: len= 1 (reference 4/0x4) (Originator)

fli4l*CLI> 
1 > Message type: SETUP (5)

fli4l*CLI> 
1 > [04 03 80 90 a3]

fli4l*CLI> 
1 > Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)

fli4l*CLI> 
1 >                              Ext: 1  Trans mode/rate: 64kbps,
circuit-mode (16)

fli4l*CLI> 
1 >                              Ext: 1  User information layer 1: A-Law
(35)

fli4l*CLI> 
1 > [18 01 89]

fli4l*CLI> 
1 > Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0,
Exclusive Dchan: 0

fli4l*CLI> 
1 >                        ChanSel: B1 channel

fli4l*CLI> 
1                          ]

fli4l*CLI> 
1 > [28 02 32 37]

fli4l*CLI> 
1 > Display (len= 2) [ 27 ]

fli4l*CLI> 
1 > [6c 04 00 80 32 37]

fli4l*CLI> 
1 > Calling Number (len= 6) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)

fli4l*CLI> 
1 >                           Presentation: Presentation permitted, user
number not screened (0) '27' ]

fli4l*CLI> 
1 > [70 03 c1 35 32]

fli4l*CLI> 
1 > Called Number (len= 5) [ Ext: 1  TON: Subscriber Number (4)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '52' ]

fli4l*CLI> 
1 > [7d 02 91 81]

fli4l*CLI> 

1 > High-layer compatibilty (len= 4) [ 1 0x91 1 0x81 1  ]

fli4l*CLI> 
    -- Called g1/52

fli4l*CLI> 
    -- Requested transfer capability: 0x00 - SPEECH

fli4l*CLI> 
    -- Called g2/52

fli4l*CLI> 
1 < Protocol Discriminator: Q.931 (8)  len=8
1 < Call Ref: len= 1 (reference 132/0x84) (Terminator)
1 < Message type: RELEASE COMPLETE (90)
1 < [08 02 80 92]
1 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
1 <                  Ext: 1  Cause: No user responding (18), class =
Normal Event (1) ]
1 -- Processing IE 8 (cs0, Cause)

fli4l*CLI> 
1 < Protocol Discriminator: Q.931 (8)  len=4
1 < Call Ref: len= 1 (reference 132/0x84) (Terminator)
1 < Message type: ALERTING (1)

fli4l*CLI> 
    -- Zap/1-1 is ringing

fli4l*CLI> 
1 < Protocol Discriminator: Q.931 (8)  len=12
1 < Call Ref: len= 1 (reference 132/0x84) (Terminator)
1 < Message type: CONNECT (7)
1 < [4c 06 01 80 37 30 35 30]
1 < COLP (len= 8) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
1 <                           Presentation: Presentation permitted, user
number not screened (0) '7050' ]
1 -- Processing IE 76 (cs0, Connect Line ID Presentation)
1 > Protocol Discriminator: Q.931 (8)  len=4
1 > Call Ref: len= 1 (reference 4/0x4) (Originator)
1 > Message type: CONNECT ACKNOWLEDGE (15)

fli4l*CLI> 
    -- Zap/1-1 answered SIP/7930-0822b270

fli4l*CLI> 
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate
Connect Request
1 > Protocol Discriminator: Q.931 (8)  len=8
1 > Call Ref: len= 1 (reference 4/0x4) (Originator)
1 > Message type: DISCONNECT (69)
1 > [08 02 81 90]
1 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: Private network serving the local user (1)
1 >                  Ext: 1  Cause: Normal Clearing (16), class = Normal
Event (1) ]
    -- Hungup 'Zap/1-1'
  == Spawn extension (outbound, 52, 33) exited non-zero on
'SIP/7930-0822b270'
    -- Executing Hangup("SIP/7930-0822b270", "") in new stack
  == Spawn extension (outbound, h, 1) exited non-zero on
'SIP/7930-0822b270'

fli4l*CLI> 
1 < Protocol Discriminator: Q.931 (8)  len=4
1 < Call Ref: len= 1 (reference 132/0x84) (Terminator)
1 < Message type: RELEASE (77)
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release
Request
1 > Protocol Discriminator: Q.931 (8)  len=8
1 > Call Ref: len= 1 (reference 4/0x4) (Originator)
1 > Message type: RELEASE COMPLETE (90)
1 > [08 02 81 90]
1 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: Private network serving the local user (1)
1 >                  Ext: 1  Cause: Normal Clearing (16), class = Normal
Event (1) ]
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
1 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null

fli4l*CLI> 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-31-07 10:17  Netview        Note Added: 0068123                          
======================================================================




More information about the asterisk-bugs mailing list