[svn-commits] twilson: branch 1.4 r306972 - /branches/1.4/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 8 14:05:19 CST 2011


Author: twilson
Date: Tue Feb  8 14:05:13 2011
New Revision: 306972

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=306972
Log:
Fix comparison for REFER Replaces tags with pedantic=yes

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=306972&r1=306971&r2=306972
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue Feb  8 14:05:13 2011
@@ -10389,8 +10389,8 @@
 
 		if (!strcmp(referdata->replaces_callid, transferer->callid) &&
 			(!pedanticsipchecking ||
-			(!strcmp(referdata->replaces_callid_fromtag, transferer->tag) &&
-			!strcmp(referdata->replaces_callid_totag, transferer->theirtag)))) {
+			(!strcmp(referdata->replaces_callid_fromtag, transferer->theirtag) &&
+			!strcmp(referdata->replaces_callid_totag, transferer->tag)))) {
 				ast_log(LOG_WARNING, "Got an attempt to replace own Call-ID on %s\n", transferer->callid);
 				return -4;
 		}




More information about the svn-commits mailing list