[asterisk-bugs] [Asterisk 0015655]: [patch] Dialplan starts execution before call is accepted
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Aug 5 03:01:20 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15655
======================================================================
Reported By: alecdavis
Assigned To: rmudgett
======================================================================
Project: Asterisk
Issue ID: 15655
Category: Channels/chan_dahdi
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
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-05 03:01 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.
======================================================================
----------------------------------------------------------------------
(0108638) alecdavis (reporter) - 2009-08-05 03:01
https://issues.asterisk.org/view.php?id=15655#c108638
----------------------------------------------------------------------
Tried libpri-issue14068 and asterisl-issue14068 and although the fix is
similar and tidier, the output on console is still out of order, 'Accepting
call' is later, I'm guessing will be random.
This output was a call from a Jtec ISDN Switch with CallingSubAddress set
to '2580', CalledSubAddress was '0863' - but thats not relevant yet.
unpatched console output:
-- Executing [8696 at incoming:1] NoOp("DAHDI/25-1", "9100
callingsubaddr=2580 calledsubaddr=") in new stack
-- Executing [8696 at incoming:2] Congestion("DAHDI/25-1", "0") in new
stack
-- Accepting call from 'XXXXX9100' to '8696' on channel 0/25, span 1
Issue History
Date Modified Username Field Change
======================================================================
2009-08-05 03:01 alecdavis Note Added: 0108638
======================================================================
More information about the asterisk-bugs
mailing list