Fixed #932 and #905 in public. OpenBTS now responds negatively to SIP

re-invites, though the specific effect of this depends on the client
 sending the re-invite. In the case of FS, it causes the RTP stream to
 break. We also now complain when invites time out, sending an alert to the
 user about the proxy status.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3810 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
Kurtis Heimerl 2012-06-19 20:22:20 +00:00
parent 2fe7dd1ec4
commit af13ea7902
8 changed files with 97 additions and 49 deletions

View file

@ -202,14 +202,14 @@ class TransactionEntry {
void MTCInitRTP() { ScopedLock lock(mLock); mSIP.MTCInitRTP(); }
SIP::SIPState MODSendBYE();
SIP::SIPState MODSendUNAVAIL();
SIP::SIPState MODSendERROR(osip_message_t * cause, int code, const char * reason, bool cancel);
SIP::SIPState MODSendCANCEL();
SIP::SIPState MODResendBYE();
SIP::SIPState MODResendCANCEL();
SIP::SIPState MODResendUNAVAIL();
SIP::SIPState MODResendERROR(bool cancel);
SIP::SIPState MODWaitForBYEOK();
SIP::SIPState MODWaitForCANCELOK();
SIP::SIPState MODWaitForUNAVAILACK();
SIP::SIPState MODWaitForERRORACK(bool cancel);
SIP::SIPState MODWaitFor487();
SIP::SIPState MTDCheckBYE();
@ -241,6 +241,9 @@ class TransactionEntry {
void saveBYE(const osip_message_t* bye, bool local)
{ ScopedLock lock(mLock); mSIP.saveBYE(bye,local); }
bool sameINVITE(osip_message_t * msg)
{ ScopedLock lock(mLock); return mSIP.sameINVITE(msg); }
//@}
unsigned stateAge() const { ScopedLock lock(mLock); return mStateTimer.elapsed(); }