mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-11 08:55:40 +00:00
RRLP Additions: New config fields enable RRLP messages before mobile terminated calls and SMS.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3048 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "MobilityManagement.h"
|
||||
#include "SMSControl.h"
|
||||
#include "CallControl.h"
|
||||
#include "RRLPServer.h"
|
||||
|
||||
#include <GSMCommon.h>
|
||||
#include <GSMLogicalChannel.h>
|
||||
@@ -909,6 +910,19 @@ void Control::MTCStarter(TransactionEntry *transaction, GSM::LogicalChannel *LCH
|
||||
assert(LCH);
|
||||
LOG(INFO) << "MTC on " << LCH->type() << " transaction: "<< *transaction;
|
||||
|
||||
/* first RLLP request */
|
||||
if (gConfig.defines("Control.Call.QueryRRLP")) {
|
||||
// Query for RRLP
|
||||
RRLPServer wRRLPServer(transaction->subscriber(), LCH);
|
||||
if (!wRRLPServer.assist()) {
|
||||
LOG(INFO) << "RRLPServer::assist problem";
|
||||
}
|
||||
// can still try to check location even if assist didn't work
|
||||
if (!wRRLPServer.locate()) {
|
||||
LOG(INFO) << "RRLPServer::locate problem";
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if very early assigment already happened.
|
||||
bool veryEarly = false;
|
||||
if (LCH->type()==GSM::FACCHType) veryEarly=true;
|
||||
|
||||
Reference in New Issue
Block a user