[asterisk-commits] dvossel: branch 1.8 r286834 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 14 16:57:39 CDT 2010


Author: dvossel
Date: Tue Sep 14 16:57:35 2010
New Revision: 286834

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=286834
Log:
Sets subscribed type for outgoing MWI subscriptions so correct Event header is used.

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=286834&r1=286833&r2=286834
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Tue Sep 14 16:57:35 2010
@@ -11522,7 +11522,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