25.9 Tracing macros
09.023GPPMobile Application Part (MAP) specificationTS
25.9.1 Macro Trace_Subscriber_Activity_MSC
The Trace_Subscriber_Activity_MSC is invoked in the MSC, when the MSC receives the MAP_TRACE_SUBSCRIBER_ACTIVITY indication from the VLR. The data of the primitive is checked and the tracing in the MSC is started if the content includes no errors. No response is returned to the VLR.
The Trace_Subscriber_Activity_MSC macro is described in the figure 25.9/1.
Figure 25.9/1: Macro Trace_Subscriber_Activity_MSC
25.9.2 Macro Trace_Subscriber_Activity_VLR
The macro Trace_Subscriber_Activity_VLR is invoked, if the subscriber activity is detected by the VLR and the tracing is active. The VLR sends MAP_TRACE_SUBSCRIBER_ACTIVITY request to the MSC. No answer is awaited from the MSC.
The Trace_Subscriber_Activity_VLR macro is shown in the figure 25.9/2.
Figure 25.9/2: Macro Trace_Subscriber_Activity_VLR
25.9.3 Macro Activate_Tracing_VLR
The Activate_Tracing_VLR macro is invoked, when the MAP_ACTIVATE_TRACE_MODE indication is received from the HLR. The primitive is processed in the VLR as follows:
– if the data contains errors, a data missing or unexpected data value indication is returned to the HLR;
– if the tracing is not supported, a facility not supported indication is returned to the HLR;
– if the tracing buffer does not have any space left for the data, a tracing buffer full indication is returned to the HLR;
– if no errors is detected, the tracing is set active and a positive acknowledge is returned to the HLR.
The Activate_Tracing_VLR macro is described in the figure 25.9/3.
Figure 25.9/3: Macro Activate_Tracing_VLR
25.9.4 Macro Control_Tracing_HLR
The Control_Tracing_HLR macro may be invoked in the HLR, if subscriber related activity is detected. If the tracing is active in the HLR and not active in the VLR or in the SGSN, the MAP_ACTIVATE_TRACE_MODE request is sent to the VLR or to the SGSN.
The MAP_ACTIVATE_TRACE_MODE confirmation from the VLR or from the SGSN is processed as follows:
– if the primitive contains a successful acknowledge, the tracing in VLR or in the SGSN is set active;
– if the primitive contains errors, the tracing in VLR or in SGSN is set deactive.
The Control_Tracing_HLR macro between HLR and VLR is shown in the figure 25.9/4
The Control_Tracing_HLR_with_SGSN macro between HLR and SGSN is shown in the figure 25.9/5
Figure 25.9/4: Macro Control_Tracing_HLR
Figure 25.9/5: Macro Control_Tracing_HLR_with_SGSN
25.9.5 Macro Trace_Subscriber_Activity_SGSN
The macro Trace_Subscriber_Activity_SGSN is invoked, if the subscriber activity is detected by the SGSN and the tracing is active.
The Trace_Subscriber_Activity_SGSN macro is shown in the figure 25.9/6.
Figure 25.9/6: Macro Trace_Subscriber_Activity_SGSN
25.9.6 Macro Activate_Tracing_SGSN
The Activate_Tracing_SGSN macro is invoked, when the MAP_ACTIVATE_TRACE_MODE indication is received from the HLR. The primitive is processed in the SGSN as follows:
– if the data contains errors, a data missing or unexpected data value indication is returned to the HLR;
– if the tracing is not supported, a facility not supported indication is returned to the HLR;
– if the tracing buffer does not have any space left for the data, a tracing buffer full indication is returned to the HLR;
– if no errors is detected, the tracing is set active and a positive acknowledge is returned to the HLR.
The Activate_Tracing_SGSN macro is described in the figure 25.9/7.
Figure 25.9/7: Macro Activate_Tracing_SGSN