[asterisk-bugs] [Asterisk 0012214]: [patch] Added event based MWI to chan_skinny

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Mar 25 19:19:55 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12214 
====================================================================== 
Reported By:                DEA
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12214
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 108392 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-14-2008 10:59 CDT
Last Modified:              03-25-2008 19:19 CDT
====================================================================== 
Summary:                    [patch] Added event based MWI to chan_skinny
Description: 
Modelled on chan_zap and chan_mgcp.  I have been chasing a segfault
that initially appeared to be related to IMAP and voicemail.  After
looking at way too many core dumps I finally noticed that while the
crash occured in the c-client code, the call trace always pointed
to starting in the do_housekeeping finction in chan_skinny.

The function do_housekeeping calls has_voicemail which in chan_skinny
is just a call to ast_app_has_voicemail.  I reworked the do_housekeeping
and has_voicemail functions to resemble their counterparts in chan_zap
and chan_mgcp.

So far I have not been able to recreate the segfault with light VM
interaction, were as before the patch one call would typically trigger
the dump.
====================================================================== 

---------------------------------------------------------------------- 
 DEA - 03-25-08 19:19  
---------------------------------------------------------------------- 
Tweaked and uploaded.

Since I applied the this patch and the patch to make app_voicemail honor
the context for event bas mwi I have not had another segfault on my
IMAP enabled system. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-25-08 19:19  DEA            Note Added: 0084548                          
======================================================================




More information about the asterisk-bugs mailing list