[Home]

Summary:ASTERISK-07469: using Dial(local/xxx/n) causes core dump with xfer
Reporter:jmls (jmls)Labels:
Date Opened:2006-08-06 02:23:16Date Closed:2006-08-06 19:17:51
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_local
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) gdb20060806-0803.txt
( 1) gdb20060806-0813.txt
Description:Asterisk crashes when the following scenario is followed:

Zap call comes into SIP phone A
SIP A starts transfer to Local/B/n (Zap has MOH)
Local/B calls SIP B
SIP A completes transfer to SIP B
--->SIP B now has MOH !
---> Zap hears just silence

If zap hangs up, asterisk core dumps
Comments:By: jmls (jmls) 2006-08-06 02:27:01

dialplan is as follows: I have made the dialplan as simple as I can to reproduce this crash - I was trying local channels for another problem that U have, and normally have dynamic members of a queue using local channels

[from-isdn]

exten => _4446XX,1,goto(common|77${EXTEN:4}|1)

[from-sip]
include => common

[common]

exten => _7XXX,1,Answer()
exten => _7XXX,n,Dial(SIP/${EXTEN},120,g)
exten => _7XXX,n,Hangup()

exten => 7709,1,Answer()
exten => 7709,n,Dial(Local/7710@from-sip/n)
exten => 7709,n,Hangup()

By: jmls (jmls) 2006-08-06 02:27:39

note: if you remove the /n from exten => 7709,n,Dial(Local/7710@from-sip) then asterisk does not crash

By: jmls (jmls) 2006-08-06 02:31:44

fwiw, SIP A (extension 7706) is a cisco 7960 with 7.4, SIP B (extension 7710) is a xlite softphone

By: Joshua C. Colp (jcolp) 2006-08-06 19:17:51

Fixed in 1.2 as of revision 39056 and trunk as of revision 39057. Thanks!