mirror of
https://github.com/PentHertz/OpenBTS.git
synced 2026-05-05 15:24:11 +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:
parent
6dd0e7c1fc
commit
f02bdb14e3
7 changed files with 363 additions and 257 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue