Archived
14
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@78183 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2007-08-06 16:34:15 +00:00
parent bdba835e56
commit a7d42fa130

View file

@ -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) {