From: Terry Wilson Date: Tue, 8 Feb 2011 20:14:09 +0000 (+0000) Subject: Merged revisions 306972 via svnmerge from X-Git-Tag: 1.6.2.18-rc1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fd699dad03d8d9e8e90a3ccf442e6b473d04709;p=thirdparty%2Fasterisk.git 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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@306973 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 1d52334cb9..96e8d1c621 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -14048,8 +14048,8 @@ static int get_refer_info(struct sip_pvt *transferer, struct sip_request *outgoi 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; }