aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-08 20:14:09 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-08 20:14:09 +0000
commit42edf878a749c302b04129e1caaed7dd9e7b6330 (patch)
tree875a151bea156bd42a183ff7935a6f5b968abbd6 /channels
parentf88b382c8da0d96e88ec82775aa5815c1e438edd (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@306973 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 1d52334cb..96e8d1c62 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;
}