[asterisk-commits] oej: branch oej/darjeeling-prack-1.8 r369601 - /team/oej/darjeeling-prack-1.8...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 4 09:14:44 CDT 2012


Author: oej
Date: Wed Jul  4 09:14:40 2012
New Revision: 369601

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369601
Log:
Revert to not equal to PRACK. 

Modified:
    team/oej/darjeeling-prack-1.8/channels/chan_sip.c

Modified: team/oej/darjeeling-prack-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/darjeeling-prack-1.8/channels/chan_sip.c?view=diff&rev=369601&r1=369600&r2=369601
==============================================================================
--- team/oej/darjeeling-prack-1.8/channels/chan_sip.c (original)
+++ team/oej/darjeeling-prack-1.8/channels/chan_sip.c Wed Jul  4 09:14:40 2012
@@ -12350,7 +12350,7 @@
 	req.method = sipmethod;
 	if (init) {/* Bump branch even on initial requests */
 		p->branch ^= ast_random();
-		if (sipmethod == SIP_INVITE) {
+		if (sipmethod != SIP_PRACK) {
 			p->invite_branch = p->branch;
 		}
 		build_via(p);




More information about the asterisk-commits mailing list