[Asterisk-cvs] asterisk/channels chan_sip.c,1.857,1.858

kpfleming kpfleming
Wed Sep 14 18:07:31 CDT 2005


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

Modified Files:
	chan_sip.c 
Log Message:
put items in RFC-specified order (issue #5217)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.857
retrieving revision 1.858
diff -u -d -r1.857 -r1.858
--- chan_sip.c	14 Sep 2005 21:43:55 -0000	1.857
+++ chan_sip.c	14 Sep 2005 22:06:00 -0000	1.858
@@ -4875,8 +4875,8 @@
 	add_header(&req, "Event", "message-summary");
 	add_header(&req, "Content-Type", default_notifymime);
 
-	ast_build_string(&t, &maxbytes, "Message-Account: sip:%s@%s\r\n", (vmexten && !ast_strlen_zero(vmexten)) ? vmexten : global_vmexten, p->fromdomain);
 	ast_build_string(&t, &maxbytes, "Messages-Waiting: %s\r\n", newmsgs ? "yes" : "no");
+	ast_build_string(&t, &maxbytes, "Message-Account: sip:%s@%s\r\n", (vmexten && !ast_strlen_zero(vmexten)) ? vmexten : global_vmexten, p->fromdomain);
 	ast_build_string(&t, &maxbytes, "Voice-Message: %d/%d (0/0)\r\n", newmsgs, oldmsgs);
 
 	if (t > tmp + sizeof(tmp))




More information about the svn-commits mailing list