mirror of
https://github.com/fairwaves/openbts-2.8.git
synced 2025-11-08 16:01:56 +00:00
Patch 4545 in private:
Added support for performance-reporting counters. and Patch 4588 in private: For some reason, ReportingTest won't build on all systems. Since it is not part of the actuall application, I am commenting it out from the Makefile.am for now. git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4627 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
#include "TransactionTable.h"
|
||||
#include "RRLPServer.h"
|
||||
#include <Regexp.h>
|
||||
#include <Reporting.h>
|
||||
|
||||
|
||||
|
||||
@@ -213,6 +214,8 @@ void Control::MOSMSController(const GSM::L3CMServiceRequest *req, GSM::LogicalCh
|
||||
// The first read on SAP3 is the ESTABLISH primitive.
|
||||
delete getFrameSMS(LCH,GSM::ESTABLISH);
|
||||
|
||||
gReports.incr("OpenBTS.GSM.SMS.MOSMS.Start");
|
||||
|
||||
// Step 1
|
||||
// Now get the first message.
|
||||
// Should be CP-DATA, containing RP-DATA.
|
||||
@@ -287,6 +290,8 @@ void Control::MOSMSController(const GSM::L3CMServiceRequest *req, GSM::LogicalCh
|
||||
delete CM;
|
||||
LOG(INFO) << "CPAck " << ack;
|
||||
|
||||
gReports.incr("OpenBTS.GSM.SMS.MOSMS.Complete");
|
||||
|
||||
/* MOSMS RLLP request */
|
||||
if (gConfig.defines("Control.SMS.QueryRRLP")) {
|
||||
// Query for RRLP
|
||||
@@ -372,6 +377,8 @@ bool Control::deliverSMSToMS(const char *callingPartyDigits, const char* message
|
||||
|
||||
#endif
|
||||
|
||||
gReports.incr("OpenBTS.GSM.SMS.MTSMS.Start");
|
||||
|
||||
// Start ABM in SAP3.
|
||||
//LCH->send(GSM::ESTABLISH,3);
|
||||
// Wait for SAP3 ABM to connect.
|
||||
@@ -435,6 +442,8 @@ bool Control::deliverSMSToMS(const char *callingPartyDigits, const char* message
|
||||
success = false;
|
||||
}
|
||||
|
||||
gReports.incr("OpenBTS.GSM.SMS.MTSMS.Complete");
|
||||
|
||||
// Step 4
|
||||
// Send CP-ACK to the MS.
|
||||
LOG(INFO) << "MTSMS: sending CPAck";
|
||||
|
||||
Reference in New Issue
Block a user