[svn-commits] file: trunk r198498 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 1 08:31:36 CDT 2009


Author: file
Date: Mon Jun  1 08:31:27 2009
New Revision: 198498

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198498
Log:
Fix a bug where the Event and Content-Type headers were added twice to outgoing SIP NOTIFY messages.

(closes issue #15239)
Reported by: pj

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=198498&r1=198497&r2=198498
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jun  1 08:31:27 2009
@@ -10794,8 +10794,6 @@
 
 	reqprep(&req, p, SIP_NOTIFY, 0, 1);
 
-	add_header(&req, "Event", subscriptiontype->event);
-	add_header(&req, "Content-Type", subscriptiontype->mediatype);
 	switch(state) {
 	case AST_EXTENSION_DEACTIVATED:
 		if (timeout)




More information about the svn-commits mailing list