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
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;
}