Fix the hangup of incoming SIP calls that didn't had the dialog tag updated.

This could happen if a call was dropped immediately after being answered.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4333 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-04-20 18:41:14 +00:00
parent 3e6e71a2e3
commit 9006eefd04
1 changed files with 2 additions and 0 deletions

View File

@ -2165,6 +2165,8 @@ void YateSIPConnection::clearTransaction()
TelEngine::destruct(m);
m_byebye = false;
}
else if (m_hungup && m_tr->isIncoming() && m_dialog.localTag.null())
m_dialog.localTag = m_tr->getDialogTag();
m_tr->deref();
m_tr = 0;
}