mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +00:00
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/branches/1.4@78182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8712,7 +8712,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
|
(With a forking SIP proxy, several call legs share the
|
||||||
call id, but have different tags)
|
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;
|
match = 0;
|
||||||
|
|
||||||
if (!match) {
|
if (!match) {
|
||||||
|
Reference in New Issue
Block a user