mirror of
https://github.com/PentHertz/OpenBTS.git
synced 2026-05-05 07:08:08 +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
|
|
@ -48,6 +48,7 @@
|
|||
#include "SMSControl.h"
|
||||
#include "ControlCommon.h"
|
||||
#include "TransactionTable.h"
|
||||
#include "RRLPServer.h"
|
||||
#include <Regexp.h>
|
||||
|
||||
|
||||
|
|
@ -455,6 +456,19 @@ void Control::MTSMSController(TransactionEntry *transaction, GSM::LogicalChannel
|
|||
transaction->GSMState(GSM::SMSDelivering);
|
||||
LOG(INFO) << "transaction: "<< *transaction;
|
||||
|
||||
/* first RLLP request */
|
||||
if (gConfig.defines("Control.SMS.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";
|
||||
}
|
||||
}
|
||||
|
||||
bool success = deliverSMSToMS(transaction->calling().digits(),transaction->message(),
|
||||
transaction->messageType(),transaction->L3TI(),LCH);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue