[asterisk-bugs] [Asterisk 0009055]: [patch] extend SMDI support to chan_sip

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Sep 12 12:03:48 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9055 
====================================================================== 
Reported By:                jaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9055
Category:                   Core/General
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 54176 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             02-13-2007 14:07 CST
Last Modified:              09-12-2007 12:03 CDT
====================================================================== 
Summary:                    [patch] extend SMDI support to chan_sip
Description: 
This patch allows SMDI message integration with SIP.  Currently only Zap
channels can utilize SMDI messaging.  If all VoIP signalling to Asterisk is
done via SIP, there is currently no support for SMDI.  Since SIP signalling
packets can not be guaranteed to arrive in the same order as SMDI messages,
a new method was added to the smdi module to allow matching of the SIP
INVITE source (ex. 0001 at 192.168.1.10) to the message desk terminal number
(ex. 0001, 0002, etc)

This patch also allows each voicemail user to specify if they will be
using SMDI for MWI notification, instead of having extern_notify set to
SMDI.  There are instances when some users will need SMDI notification and
others will want to use the built-in MWI support.
====================================================================== 

---------------------------------------------------------------------- 
 jaroth - 09-12-07 12:03  
---------------------------------------------------------------------- 
I just made a patch for 1.4.11 that we have just started testing.  It looks
like there were some changes in the chan_sip.c code that have broken the
patch.  Specifically, when I copy the callerID from the SMDI message to
p->owner->cid.cid_num, the pointer is NULL.  Maybe the memory for
cid.cid_num is now allocated at a different time, I am not sure.  I will be
working on it in the next few weeks.  When I have figured out the problem
and have tested it, I will provide a new patch.  BTW, the patch submitted
above has been in use for a few months on a 1.4.2 version of Asterisk with
no problems. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-12-07 12:03  jaroth         Note Added: 0070410                          
======================================================================




More information about the asterisk-bugs mailing list