[asterisk-bugs] [Asterisk 0013829]: [patch] Hang up during call forward into voicemail crashes Asterisk.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 3 09:54:53 CST 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13829 
====================================================================== 
Reported By:                jaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13829
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 153904 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-03 09:53 CST
Last Modified:              2008-11-03 09:54 CST
====================================================================== 
Summary:                    [patch] Hang up during call forward into voicemail
crashes Asterisk.
Description: 

I've discovered an always recreatable crash:
Here is the call secenario:

1) set number1 to call forward all to number2
2) call number1 from number2
3) "End Call" quickly: number2 starts to rings itself.
4) Press "Reject" to send call to voicemail.

At this point the call is sent to Asterisk and Asterisk starts
VoiceMail(number2) although the phone has already hung up.

The crash is in the expunge process where the IMAP stream is actually NULL
at this point.  

This patch checks for a NULL mailstream before expunging messages.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-03 09:54 jaroth         Summary                  Hang up during call
forward into voicemail crashes Asterisk. => [patch] Hang up during call forward
into voicemail crashes Asterisk.
======================================================================




More information about the asterisk-bugs mailing list