[asterisk-commits] dvossel: trunk r286835 - in /trunk: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 14 17:02:04 CDT 2010


Author: dvossel
Date: Tue Sep 14 17:02:00 2010
New Revision: 286835

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=286835
Log:
Merged revisions 286834 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r286834 | dvossel | 2010-09-14 16:57:35 -0500 (Tue, 14 Sep 2010) | 2 lines
  
  Sets subscribed type for outgoing MWI subscriptions so correct Event header is used.
........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=286835&r1=286834&r2=286835
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Sep 14 17:02:00 2010
@@ -11547,7 +11547,9 @@
 	
 	/* Associate the call with us */
 	mwi->call->mwi = ASTOBJ_REF(mwi);
-	
+
+	mwi->call->subscribed = MWI_NOTIFICATION;
+
 	/* Actually send the packet */
 	transmit_invite(mwi->call, SIP_SUBSCRIBE, 0, 2, NULL);
 




More information about the asterisk-commits mailing list