[Asterisk-cvs] asterisk/channels chan_sip.c,1.615,1.616

markster at lists.digium.com markster at lists.digium.com
Wed Jan 5 17:13:08 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv20980/channels

Modified Files:
	chan_sip.c 
Log Message:
Fix compliance of SIP presence (bug #3251)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.615
retrieving revision 1.616
diff -u -d -r1.615 -r1.616
--- chan_sip.c	5 Jan 2005 23:05:49 -0000	1.615
+++ chan_sip.c	5 Jan 2005 23:18:00 -0000	1.616
@@ -3917,6 +3917,8 @@
 		}
 		mto = c;
 
+		add_header(&req, "Event", "presence");
+		add_header(&req, "Subscription-State", "active");
 		add_header(&req, "Content-Type", "application/xpidf+xml");
 
 		if ((state==AST_EXTENSION_UNAVAILABLE) || (state==AST_EXTENSION_BUSY))




More information about the svn-commits mailing list