mirror of
https://github.com/PentHertz/OpenBTS.git
synced 2026-05-02 21:30:06 +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:
parent
fcbedbb000
commit
f98838c76a
7 changed files with 107 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue