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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Feb 26 12:39:17 CST 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:                     new
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:             02-26-2008 09:55 CST
Last Modified:              02-26-2008 12:39 CST
====================================================================== 
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.


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

---------------------------------------------------------------------- 
 darrylc - 02-26-08 12:39  
---------------------------------------------------------------------- 
Qwell, I am not sure I follow you...  Those are just the extensions...

The voicemail is handled in the database in which case the mail boxes are
"not" alpha numeric.  In the database the mailboxes would be defined as
100,101,106 under the context of 4169173818.

There are no alpha numeric mailboxes.... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-26-08 12:39  darrylc        Note Added: 0082977                          
======================================================================




More information about the asterisk-bugs mailing list