[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.13,1.510.2.14

russell at lists.digium.com russell at lists.digium.com
Sun Nov 7 19:22:26 CST 2004


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

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
fix sip mwi to conform to RFC (bug #2793)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.13
retrieving revision 1.510.2.14
diff -u -d -r1.510.2.13 -r1.510.2.14
--- chan_sip.c	7 Nov 2004 23:22:48 -0000	1.510.2.13
+++ chan_sip.c	8 Nov 2004 00:24:09 -0000	1.510.2.14
@@ -3947,7 +3947,7 @@
 	add_header(&req, "Content-Type", notifymime);
 
 	snprintf(tmp, sizeof(tmp), "Messages-Waiting: %s\r\n", newmsgs ? "yes" : "no");
-	snprintf(tmp2, sizeof(tmp2), "Voicemail: %d/%d\r\n", newmsgs, oldmsgs);
+	snprintf(tmp2, sizeof(tmp2), "Voice-Message: %d/%d\r\n", newmsgs, oldmsgs);
 	snprintf(clen, sizeof(clen), "%d", (int)(strlen(tmp) + strlen(tmp2)));
 	add_header(&req, "Content-Length", clen);
 	add_line(&req, tmp);




More information about the svn-commits mailing list