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:
kurtis.heimerl
2013-02-16 13:03:08 +00:00
parent d7125a41d7
commit 4e22951fda
3 changed files with 9 additions and 0 deletions

View File

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

View File

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

View File

@@ -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. */