[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.4,1.510.2.5

russell at lists.digium.com russell at lists.digium.com
Thu Oct 7 17:46:31 CDT 2004


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

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
Fix which one we use initreqprep vs. reqprep (bug #2591, 2596)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.4
retrieving revision 1.510.2.5
diff -u -d -r1.510.2.4 -r1.510.2.5
--- chan_sip.c	6 Oct 2004 22:15:32 -0000	1.510.2.4
+++ chan_sip.c	7 Oct 2004 21:47:46 -0000	1.510.2.5
@@ -3970,7 +3970,7 @@
 	struct sip_request req;
 	char tmp[256];
 	char clen[20];
-	initreqprep(&req, p, "NOTIFY", NULL);
+	reqprep(&req, p, "NOTIFY", 0, 1);
 	snprintf(tmp, sizeof(tmp), "refer;id=%d", cseq);
 	add_header(&req, "Event", tmp);
 	add_header(&req, "Subscription-state", "terminated;reason=noresource");




More information about the svn-commits mailing list