[asterisk-bugs] [Asterisk 0013463]: Call from a Polycom, trough Asterisk, to a Local/ + DAHDI analog channel. Hangup DAHDI and crash.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 11 11:06:20 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13463 
====================================================================== 
Reported By:                wackysalut
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13463
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0-rc4 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-11 10:59 CDT
Last Modified:              2008-09-11 11:06 CDT
====================================================================== 
Summary:                    Call from a Polycom, trough Asterisk, to a Local/ +
DAHDI analog channel. Hangup DAHDI and crash.
Description: 
Analog card: Digium TDM411B
Asterisk: 1.6.0-rc4

Backtrace + snippet of CLI:


[New Thread -1216644208 (LWP 8751)]
    -- Executing [6004 at users-international:1]
Macro("SIP/polycom-0935ea48", "stdexten,Local/604 at inside") in new stack
    -- Executing [s at macro-stdexten:1] Dial("SIP/polycom-0935ea48",
"Local/604 at inside,25") in new stack
[New Thread -1216889968 (LWP 8752)]
    -- Called 604 at inside
    -- Executing [604 at inside:1] Dial("Local/604 at inside-32d7;2",
"DAHDI/g2,20") in new stack
[Sep 11 11:10:24] WARNING[8752]: chan_dahdi.c:2129 dahdi_call: cidspill
already exists??
    -- Called g2
    -- DAHDI/25-1 is ringing
    -- Local/604 at inside-32d7;1 is ringing
    -- DAHDI/25-1 answered Local/604 at inside-32d7;2
    -- Local/604 at inside-32d7;1 answered SIP/polycom-0935ea48
  == Spawn extension (inside, 604, 1) exited non-zero on
'Local/604 at inside-32d7;2'
[Thread -1216889968 (LWP 8752) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216644208 (LWP 8751)]
ast_cdr_specialized_reset (cdr=0x936dd80, _flags=0x0) at cdr.c:680
680                     if (!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED)) {
(gdb) bt
http://bugs.digium.com/view.php?id=0  ast_cdr_specialized_reset (cdr=0x936dd80,
_flags=0x0) at cdr.c:680
http://bugs.digium.com/view.php?id=1  0x080ad774 in ast_bridge_call
(chan=0x936d128, peer=0x936d988,
config=0xb77adcf0) at features.c:2170
http://bugs.digium.com/view.php?id=2  0x00f39d11 in dial_exec_full
(chan=0x936d128, data=0xb77afe78,
peerflags=0xb77addd0, continue_exec=0x0)
    at app_dial.c:1894
http://bugs.digium.com/view.php?id=3  0x00f3f159 in dial_exec (chan=0x936d128,
data=0xb77afe78) at
app_dial.c:1964
http://bugs.digium.com/view.php?id=4  0x080e17e4 in pbx_exec (c=0x936d128,
app=0x92fbe38, data=0xb77afe78)
at pbx.c:944
http://bugs.digium.com/view.php?id=5  0x080ed39d in pbx_extension_helper
(c=0x936d128, con=0x0,
context=0x936d2b0 "macro-stdexten", 
    exten=0x936d300 "s", priority=1, label=0x0, callerid=0x9346d58 "603",
action=E_SPAWN, found=0xb77b2e34, 
    combined_find_spawn=1) at pbx.c:3113
http://bugs.digium.com/view.php?id=6  0x0061d198 in _macro_exec (chan=0x936d128,
data=<value optimized out>,
exclusive=0) at app_macro.c:295
http://bugs.digium.com/view.php?id=7  0x080e17e4 in pbx_exec (c=0x936d128,
app=0x92d22c0, data=0xb77b4ef8)
at pbx.c:944
http://bugs.digium.com/view.php?id=8  0x080ed39d in pbx_extension_helper
(c=0x936d128, con=0x0,
context=0x936d2b0 "macro-stdexten", 
    exten=0x936d300 "s", priority=1, label=0x0, callerid=0x9346d58 "603",
action=E_SPAWN, found=0xb77b7338, 
    combined_find_spawn=1) at pbx.c:3113
http://bugs.digium.com/view.php?id=9  0x080ef976 in __ast_pbx_run (c=0x936d128)
at pbx.c:3604
http://bugs.digium.com/view.php?id=10 0x080f11be in pbx_thread (data=0x936d128)
at pbx.c:3954
http://bugs.digium.com/view.php?id=11 0x0812b2eb in dummy_start (data=0x9342a00)
at utils.c:917
http://bugs.digium.com/view.php?id=12 0x00afe46b in start_thread () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=13 0x00a55dbe in clone () from /lib/libc.so.6

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

---------------------------------------------------------------------- 
 (0092341) wackysalut (reporter) - 2008-09-11 11:06
 http://bugs.digium.com/view.php?id=13463#c92341 
---------------------------------------------------------------------- 
Forgot that macro (which may be the problem, with the CUT and the @inside
thing..):

[macro-stdexten]
exten => s,1,Dial(${ARG1},25)
exten => s,n,VoiceMail(${CUT(${ARG1},'/',2)},u) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-11 11:06 wackysalut     Note Added: 0092341                          
======================================================================




More information about the asterisk-bugs mailing list