Execute a hangup immediately if received a CANCEL message.
This fixes the total duration of a cancelled call in slow routing scenarios. git-svn-id: http://voip.null.ro/svn/yate@5017 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
5eac5f94d7
commit
e7c6d16ea8
|
@ -5850,6 +5850,7 @@ void YateSIPConnection::doCancel(SIPTransaction* t)
|
|||
m_byebye = false;
|
||||
clearTransaction();
|
||||
disconnect("Cancelled");
|
||||
hangup();
|
||||
}
|
||||
else
|
||||
t->setResponse(481);
|
||||
|
|
Loading…
Reference in New Issue