[asterisk-commits] twilson: branch 1.6.2 r306973 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 8 14:14:13 CST 2011


Author: twilson
Date: Tue Feb  8 14:14:09 2011
New Revision: 306973

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=306973
Log:
Merged revisions 306972 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r306972 | twilson | 2011-02-08 12:05:13 -0800 (Tue, 08 Feb 2011) | 2 lines
  
  Fix comparison for REFER Replaces tags with pedantic=yes
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=306973&r1=306972&r2=306973
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Tue Feb  8 14:14:09 2011
@@ -14048,8 +14048,8 @@
 
 		if (!strcmp(referdata->replaces_callid, transferer->callid) &&
 			(!sip_cfg.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 asterisk-commits mailing list