[asterisk-bugs] [Asterisk 0015655]: [patch] Dialplan starts execution before call is accepted

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 4 18:45:11 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15655 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15655
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 210436 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-04 18:40 CDT
Last Modified:              2009-08-04 18:45 CDT
====================================================================== 
Summary:                    [patch] Dialplan starts execution before call is
accepted
Description: 
example dialplan code that is repeatable.

exten => 8696,1,Congestion(0)

<b>Correct</b> console output:
 Unknown IE 50 (cs5, Unknown Information Element)
    -- Accepting call from 'XXXX205' to '8696' on channel 0/31, span 1
    -- Executing [8696 at incoming:1] Congestion("DAHDI/31-1", "0") in new
stack
  == Spawn extension (incoming, 8696, 1) exited non-zero on 'DAHDI/31-1'
    -- Hungup 'DAHDI/31-1'

<b>Incorrect</b> console output:

!! Unknown IE 50 (cs5, Unknown Information Element)
    -- Executing [8696 at incoming:1] Congestion("DAHDI/31-1", "0") in new
stack
  == Spawn extension (incoming, 8696, 1) exited non-zero on 'DAHDI/31-1'
    -- Hungup 'DAHDI/31-1'
    -- Accepting call from 'XXXXX205' to '' on channel 0/31, span 1

No further calls can be made into asterisk.
Shortly after. Asterisk will segfault.

====================================================================== 

---------------------------------------------------------------------- 
 (0108629) alecdavis (reporter) - 2009-08-04 18:45
 https://issues.asterisk.org/view.php?id=15655#c108629 
---------------------------------------------------------------------- 
Console output after patch:
Every time, the call is accepted, then the Dialplan starts.

!! Unknown IE 50 (cs5, Unknown Information Element)
    -- Accepting call from '8512' to '8696' on channel 0/1, span 1
    -- Executing [8696 at incoming:1] Congestion("DAHDI/1-1", "0") in new
stack
  == Spawn extension (incoming, 8696, 1) exited non-zero on 'DAHDI/1-1'
    -- Hungup 'DAHDI/1-1'
!! Unknown IE 50 (cs5, Unknown Information Element)
    -- Accepting call from '8512' to '8696' on channel 0/2, span 1
    -- Executing [8696 at incoming:1] Congestion("DAHDI/2-1", "0") in new
stack
  == Spawn extension (incoming, 8696, 1) exited non-zero on 'DAHDI/2-1'
    -- Hungup 'DAHDI/2-1'
!! Unknown IE 50 (cs5, Unknown Information Element)
    -- Accepting call from '8512' to '8696' on channel 0/3, span 1
    -- Executing [8696 at incoming:1] Congestion("DAHDI/3-1", "0") in new
stack
  == Spawn extension (incoming, 8696, 1) exited non-zero on 'DAHDI/3-1'
    -- Hungup 'DAHDI/3-1'
!! Unknown IE 50 (cs5, Unknown Information Element)
    -- Accepting call from '8512' to '8696' on channel 0/4, span 1
    -- Executing [8696 at incoming:1] Congestion("DAHDI/4-1", "0") in new
stack
  == Spawn extension (incoming, 8696, 1) exited non-zero on 'DAHDI/4-1'
    -- Hungup 'DAHDI/4-1'
!! Unknown IE 50 (cs5, Unknown Information Element)
    -- Accepting call from '8512' to '8696' on channel 0/5, span 1
    -- Executing [8696 at incoming:1] Congestion("DAHDI/5-1", "0") in new
stack
  == Spawn extension (incoming, 8696, 1) exited non-zero on 'DAHDI/5-1'
    -- Hungup 'DAHDI/5-1'
!! Unknown IE 50 (cs5, Unknown Information Element)
    -- Accepting call from '8512' to '8696' on channel 0/6, span 1
    -- Executing [8696 at incoming:1] Congestion("DAHDI/6-1", "0") in new
stack
  == Spawn extension (incoming, 8696, 1) exited non-zero on 'DAHDI/6-1'
    -- Hungup 'DAHDI/6-1' 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-04 18:45 alecdavis      Note Added: 0108629                          
======================================================================




More information about the asterisk-bugs mailing list