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:
Kurtis Heimerl
2012-01-09 01:01:12 +00:00
parent fcbedbb000
commit f98838c76a
7 changed files with 107 additions and 10 deletions

View File

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