mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-04 22:03:17 +00:00
Fixed Bug #172, OpenBTS now sends CANCEL messages when there is no active call (instead of BYE)
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3006 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -420,6 +420,14 @@ SIP::SIPState TransactionEntry::MODSendBYE()
|
||||
return state;
|
||||
}
|
||||
|
||||
SIP::SIPState TransactionEntry::MODSendCANCEL()
|
||||
{
|
||||
ScopedLock lock(mLock);
|
||||
SIP::SIPState state = mSIP.MODSendCANCEL();
|
||||
echoSIPState(state);
|
||||
return state;
|
||||
}
|
||||
|
||||
SIP::SIPState TransactionEntry::MODResendBYE()
|
||||
{
|
||||
ScopedLock lock(mLock);
|
||||
@@ -428,6 +436,14 @@ SIP::SIPState TransactionEntry::MODResendBYE()
|
||||
return state;
|
||||
}
|
||||
|
||||
SIP::SIPState TransactionEntry::MODResendCANCEL()
|
||||
{
|
||||
ScopedLock lock(mLock);
|
||||
SIP::SIPState state = mSIP.MODResendCANCEL();
|
||||
echoSIPState(state);
|
||||
return state;
|
||||
}
|
||||
|
||||
SIP::SIPState TransactionEntry::MODWaitForOK()
|
||||
{
|
||||
ScopedLock lock(mLock);
|
||||
|
||||
Reference in New Issue
Block a user