mirror of
https://github.com/fairwaves/openbts-2.8.git
synced 2025-11-03 05:23:14 +00:00
Roughly r4224 in private:
More reliable detection of busy condition on MTC. Also adds new GSM state, "Busy Reject". git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4920 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -1109,6 +1109,9 @@ bool TransactionTable::isBusy(const L3MobileIdentity& mobileID)
|
||||
itr->second->GSMState() == GSM::CallReceived ||
|
||||
itr->second->GSMState() == GSM::CallPresent ||
|
||||
itr->second->GSMState() == GSM::ConnectIndication ||
|
||||
itr->second->GSMState() == GSM::HandoverInbound ||
|
||||
itr->second->GSMState() == GSM::HandoverProgress ||
|
||||
itr->second->GSMState() == GSM::HandoverOutbound ||
|
||||
itr->second->GSMState() == GSM::Active;
|
||||
if (inCall) return true;
|
||||
}
|
||||
|
||||
@@ -47,6 +47,7 @@ const char* GSM::CallStateString(GSM::CallState state)
|
||||
case ReleaseRequest: return "release-request";
|
||||
case SMSDelivering: return "SMS-delivery";
|
||||
case SMSSubmitting: return "SMS-submission";
|
||||
case BusyReject: return "Busy Reject";
|
||||
default: return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,6 +68,10 @@ enum CallState {
|
||||
ReleaseRequest,
|
||||
SMSDelivering,
|
||||
SMSSubmitting,
|
||||
HandoverInbound,
|
||||
HandoverProgress,
|
||||
HandoverOutbound,
|
||||
BusyReject,
|
||||
};
|
||||
|
||||
|
||||
@@ -78,6 +82,7 @@ std::ostream& operator<<(std::ostream& os, CallState state);
|
||||
|
||||
|
||||
/** A base class for GSM exceptions. */
|
||||
|
||||
class GSMError {};
|
||||
|
||||
/** Duration ofa GSM frame, in microseconds. */
|
||||
|
||||
Reference in New Issue
Block a user