summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-08-06 16:34:15 +0000
committerJoshua Colp <jcolp@digium.com>2007-08-06 16:34:15 +0000
commit54a2d42e2f69ec196dfe66a1fa9ee5b88c3b5041 (patch)
treec4a45b1141a465d179d1287eae3f189331fa7519 /channels/chan_sip.c
parent3f0a1faed208d7a22e935369062351304c88d8a1 (diff)
Merged revisions 78182 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r78182 | file | 2007-08-06 13:32:44 -0300 (Mon, 06 Aug 2007) | 2 lines It is possible for a transfer to occur before the remote device has our tag in which case they send none in the transfer. In this case we need to not fail the transfer dialog lookup. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index a960e9deb..3cc0a93f2 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9471,7 +9471,7 @@ static struct sip_pvt *get_sip_pvt_byid_locked(const char *callid, const char *t
(With a forking SIP proxy, several call legs share the
call id, but have different tags)
*/
- if (pedanticsipchecking && (strcmp(fromtag, sip_pvt_ptr->theirtag) || strcmp(totag, ourtag)))
+ if (pedanticsipchecking && (strcmp(fromtag, sip_pvt_ptr->theirtag) || (!ast_strlen_zero(totag) && strcmp(totag, ourtag))))
match = 0;
if (!match) {