MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / startMOC

Function startMOC

Control/L3CallControl.cpp:147–155  ·  view source on GitHub ↗

MOCMachine: Mobile Originated Call State Machine GSM 4.08 5.2.1 Mobile originating call establishment. On entry phone has an RR connection but is trying to get the CM connection established. We run MM procedures (identify, authenticate) to associate the RR LogicalChannel with a MMUser. Process up through receiving the L3Setup message. This message indicates establishment of both an MM Layer (ie, L

Source from the content-addressed store, hash-verified

145// Process up through receiving the L3Setup message.
146// This message indicates establishment of both an MM Layer (ie, LocationUpdating has been performed 4.08 4.5.1) and a CM Layer connection.
147void startMOC(const GSM::L3MMMessage *l3msg, MMContext *dcch, CMServiceTypeCode serviceType)
148{
149 LOG(DEBUG) <<dcch;
150 TranEntry *tran = TranEntry::newMOC(dcch,serviceType);
151
152 MOCMachine *mocp = new MOCMachine(tran);
153 // The message is CMServiceRequest.
154 tran->lockAndStart(mocp,(GSM::L3Message*)l3msg);
155}
156
157#if UNUSED
158MachineStatus ProcedureDetach::machineRunState(int state, const GSM::L3Message* l3msg, const SIP::DialogMessage *sipmsg)

Callers 1

NewCMServiceResponderFunction · 0.85

Calls 1

lockAndStartMethod · 0.80

Tested by

no test coverage detected