[asterisk-bugs] [Asterisk 0012075]: Segmentation Fault when Calling app Voicemail after Blind Transfer

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 11 17:41:03 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12075 
====================================================================== 
Reported By:                darrylc
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12075
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.18 
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-02-26 09:55 CST
Last Modified:              2008-09-11 17:41 CDT
====================================================================== 
Summary:                    Segmentation Fault when Calling app Voicemail after
Blind Transfer
Description: 
So I have a macro called macro-staff which is used to handle extension to
extension dialing.  The macro works perfectly for everything except BLIND
call transfers.  In features.conf the blind transfer key is set to '##' so
if you press '##' during a call Asterisk will prompt you for the extension
you wish to blind transfer the call to.

Here is the situation.  The transfer actually works, so when you press
'#http://bugs.digium.com/view.php?id=100#' as an example the call is properly
transfered to extension 100. 
The problem is if extensions 100 does not answer, macro-staff tries to send
the call into Voicemail(100) and as soon as that happens Asterisk does a
Segmentation fault.

Interestingly enough if you do a transfer from the phone, using the
Transfer button on the acutal phone, and extension 100 does not answer, and
VoiceMail(100) is called from inside macro-staff, there is NO segmentation
fault.  It only does a segmentation fault when it reaches voicemail from a
blind transfer using the '##'.

macro-staff runs no matter what, so if you press '##' to do a blind
transfer, macro-staff is called (nested) just the same as it would be if
you transfer the call using the transfer button on the phone.  So either
way there is a nested call to macro-staff, but only one when using the
'##', (blind transfer) does a segmentation fault happen.


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

---------------------------------------------------------------------- 
 (0092367) Corydon76 (administrator) - 2008-09-11 17:41
 http://bugs.digium.com/view.php?id=12075#c92367 
---------------------------------------------------------------------- 
darrylc: have you been able to run this under valgrind yet?  Even if it
doesn't crash under valgrind, the output may still help us diagnose what
the issue really is. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-11 17:41 Corydon76      Note Added: 0092367                          
======================================================================




More information about the asterisk-bugs mailing list