aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_test_ss.err
blob: 6e0684e5eb232fccdadaf2603bbc72c41d1acd89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
full talloc report on 'msgb' (total      0 bytes in   1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 13

===== test_ss_ussd_mo_geran
- Location Update request causes a GSUP LU request to HLR
  MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST
  new conn
DMM RAN_conn{RAN_CONN_S_NEW}: Allocated
DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3)
DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8)
DMM RAN_conn(GERAN-A-0_unknown_LU){RAN_CONN_S_NEW}: Updated ID
DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH
DMM LU/new-LAC: 1/23
DVLR vlr_lu_fsm(GERAN-A-0_unknown_LU){VLR_ULA_S_IDLE}: Allocated
DVLR vlr_lu_fsm(GERAN-A-0_unknown_LU){VLR_ULA_S_IDLE}: is child of RAN_conn(GERAN-A-0_unknown_LU)
DVLR vlr_lu_fsm(GERAN-A-0_unknown_LU){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth)
DVLR vlr_lu_fsm(GERAN-A-0_unknown_LU){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA
DREF VLR subscr unknown usage increases to: 1
DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620
DVLR New subscr, IMSI: 901700000004620
DREF VLR subscr IMSI-901700000004620 usage increases to: 2
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_NEW}: Updated ID
DREF VLR subscr IMSI-901700000004620 usage decreases to: 1
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: vlr_loc_upd_node1()
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth()
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph()
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4()
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_INIT}: Allocated
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU)
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START
DVLR GSUP tx: 04010809710000004026f0280102
GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0280102
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_AUTH_CIPH
DREF IMSI-901700000004620: MSC conn use - compl_l3 == 0 (0x0: )
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED
  lu_result_sent == 0
- HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT
<-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1
DVLR GSUP rx 17: 10010809710000004026f00804036470f1
DREF VLR subscr IMSI-901700000004620 usage increases to: 2
DVLR IMSI:901700000004620 has MSISDN:46071
DVLR SUBSCR(IMSI-901700000004620_MSISDN-46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2)
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_AUTH_CIPH}: Updated ID
DVLR GSUP tx: 12010809710000004026f0
GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 1
<-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0
  lu_result_sent == 0
- HLR also sends GSUP _UPDATE_LOCATION_RESULT
<-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0
DVLR GSUP rx 11: 06010809710000004026f0
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 2
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU)
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_DONE}: Freeing instance
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_DONE}: Deallocated
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_INIT}: Allocated
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU)
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL
- sending LU Accept for IMSI-901700000004620_MSISDN-46071
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 3
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU)
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_DONE}: Freeing instance
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_DONE}: Deallocated
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_ACCEPTED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_RELEASING
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + release == 1 (0x100: release)
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
- BSSAP Clear --GERAN-A--> MS
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 2
<-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0
- LU was successful, and the conn has already been closed
  lu_result_sent == 1
  bssap_clear_sent == 1
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 3
  vsub != NULL == 1
  strcmp(vsub->imsi, IMSI) == 0
  LAC == 23
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 2
- BSS sends BSSMAP Clear Complete
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - release == 0 (0x0: )
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASING}: state_chg to RAN_CONN_S_RELEASED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: Removing from parent RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU)
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: Freeing instance
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: Deallocated
DRLL IMSI-901700000004620_MSISDN-46071: Freeing RAN connection
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 1
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASED}: Freeing instance
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASED}: Deallocated
  llist_count(&net->ran_conns) == 0
---
- after a while, a new conn sends a CM Service Request
  MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ
  new conn
DMM RAN_conn{RAN_CONN_S_NEW}: Allocated
DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3)
DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24)
DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620
DMM RAN_conn(GERAN-A-0_unknown_CM_SERVICE_REQ){RAN_CONN_S_NEW}: Updated ID
DVLR Process_Access_Request_VLR(GERAN-A-0_unknown_CM_SERVICE_REQ){PR_ARQ_S_INIT}: Allocated
DVLR Process_Access_Request_VLR(GERAN-A-0_unknown_CM_SERVICE_REQ){PR_ARQ_S_INIT}: is child of RAN_conn(GERAN-A-0_unknown_CM_SERVICE_REQ)
DVLR Process_Access_Request_VLR(GERAN-A-0_unknown_CM_SERVICE_REQ){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth)
DVLR Process_Access_Request_VLR(GERAN-A-0_unknown_CM_SERVICE_REQ){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 2
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 3
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_NEW}: Updated ID
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: _proc_arq_vlr_node2()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: proc_arq_fsm_done(PASSED)
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_DONE}: Process Access Request result: PASSED
- sending CM Service Accept for IMSI-901700000004620_MSISDN-46071
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_ACCEPTED
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + cm_service == 2 (0x9: compl_l3,cm_service)
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 2
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMPLETE_LAYER_3
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - compl_l3 == 1 (0x8: cm_service)
  cm_service_result_sent == 1
ran_conn_is_accepted() == true
  MSC <--GERAN-A-- MS: GSM0480_MTYPE_REGISTER
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service)
DRLL Dispatching 04.08 message GSM0480_MTYPE_REGISTER (0xb:0x3b)
DMM Received SS/USSD data (trans_id=8, msg_type=GSM0480_MTYPE_REGISTER)
DMM  -> (new transaction)
DCC (ti 08 sub IMSI-901700000004620_MSISDN-46071 callref 20000001) New transaction
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 3
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + trans_nc_ss == 3 (0x4a: dtap,cm_service,trans_nc_ss)
DMM IMSI-901700000004620_MSISDN-46071: rx msg GSM0480_MTYPE_REGISTER: received_cm_service_request changes to false
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - cm_service == 2 (0x42: dtap,trans_nc_ss)
GSUP --> HLR: OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f03004200000013101013515a11302010102013b300b04010f0406aa510c061b01
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_COMMUNICATING
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - dtap == 1 (0x40: trans_nc_ss)
<-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f03004200000013101033527a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d
DVLR GSUP rx 61: 20010809710000004026f03004200000013101033527a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
DMSC Routed to GSM 09.11 SS/USSD handler
DMSC msc_tx 43 bytes to IMSI-901700000004620_MSISDN-46071 via GERAN-A
- DTAP --GERAN-A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 8b2a1c27a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d
- DTAP matches expected message
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - trans_nc_ss == 0 (0x0: )
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_COMMUNICATING}: state_chg to RAN_CONN_S_RELEASING
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + release == 1 (0x100: release)
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
- BSSAP Clear --GERAN-A--> MS
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 2
<-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: vlr_gsupc_read_cb() returns 0
  dtap_tx_confirmed == 1
  bssap_clear_sent == 1
- all requests serviced, conn has been released
- BSS sends BSSMAP Clear Complete
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - release == 0 (0x0: )
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_RELEASING}: state_chg to RAN_CONN_S_RELEASED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_DONE}: Removing from parent RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ)
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_DONE}: Freeing instance
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){PR_ARQ_S_DONE}: Deallocated
DRLL IMSI-901700000004620_MSISDN-46071: Freeing RAN connection
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 1
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_RELEASED}: Freeing instance
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_CM_SERVICE_REQ){RAN_CONN_S_RELEASED}: Deallocated
  llist_count(&net->ran_conns) == 0
DREF freeing VLR subscr IMSI-901700000004620_MSISDN-46071
===== test_ss_ussd_mo_geran: SUCCESS

full talloc report on 'msgb' (total      0 bytes in   1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 13

===== test_ss_ussd_no_geran
- Location Update request causes a GSUP LU request to HLR
  MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST
  new conn
DMM RAN_conn{RAN_CONN_S_NEW}: Allocated
DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3)
DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8)
DMM RAN_conn(GERAN-A-0_unknown_LU){RAN_CONN_S_NEW}: Updated ID
DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH
DMM LU/new-LAC: 1/23
DVLR vlr_lu_fsm(GERAN-A-0_unknown_LU){VLR_ULA_S_IDLE}: Allocated
DVLR vlr_lu_fsm(GERAN-A-0_unknown_LU){VLR_ULA_S_IDLE}: is child of RAN_conn(GERAN-A-0_unknown_LU)
DVLR vlr_lu_fsm(GERAN-A-0_unknown_LU){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth)
DVLR vlr_lu_fsm(GERAN-A-0_unknown_LU){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA
DREF VLR subscr unknown usage increases to: 1
DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620
DVLR New subscr, IMSI: 901700000004620
DREF VLR subscr IMSI-901700000004620 usage increases to: 2
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_NEW}: Updated ID
DREF VLR subscr IMSI-901700000004620 usage decreases to: 1
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: vlr_loc_upd_node1()
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth()
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph()
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4()
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_INIT}: Allocated
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_LU)
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START
DVLR GSUP tx: 04010809710000004026f0280102
GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0280102
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_AUTH_CIPH
DREF IMSI-901700000004620: MSC conn use - compl_l3 == 0 (0x0: )
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_LU){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED
  lu_result_sent == 0
- HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT
<-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1
DVLR GSUP rx 17: 10010809710000004026f00804036470f1
DREF VLR subscr IMSI-901700000004620 usage increases to: 2
DVLR IMSI:901700000004620 has MSISDN:46071
DVLR SUBSCR(IMSI-901700000004620_MSISDN-46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2)
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_AUTH_CIPH}: Updated ID
DVLR GSUP tx: 12010809710000004026f0
GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 1
<-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0
  lu_result_sent == 0
- HLR also sends GSUP _UPDATE_LOCATION_RESULT
<-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0
DVLR GSUP rx 11: 06010809710000004026f0
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 2
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU)
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_DONE}: Freeing instance
DVLR upd_hlr_vlr_fsm(GERAN-A-0_IMSI-901700000004620_LU){UPD_HLR_VLR_S_DONE}: Deallocated
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_INIT}: Allocated
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU)
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL
- sending LU Accept for IMSI-901700000004620_MSISDN-46071
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 3
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU)
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_DONE}: Freeing instance
DVLR lu_compl_vlr_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){LU_COMPL_VLR_S_DONE}: Deallocated
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_ACCEPTED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_RELEASING
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + release == 1 (0x100: release)
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
- BSSAP Clear --GERAN-A--> MS
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 2
<-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0
- LU was successful, and the conn has already been closed
  lu_result_sent == 1
  bssap_clear_sent == 1
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 3
  vsub != NULL == 1
  strcmp(vsub->imsi, IMSI) == 0
  LAC == 23
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 2
- BSS sends BSSMAP Clear Complete
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - release == 0 (0x0: )
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASING}: state_chg to RAN_CONN_S_RELEASED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: Removing from parent RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU)
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: Freeing instance
DVLR vlr_lu_fsm(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){VLR_ULA_S_DONE}: Deallocated
DRLL IMSI-901700000004620_MSISDN-46071: Freeing RAN connection
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 1
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASED}: Freeing instance
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_LU){RAN_CONN_S_RELEASED}: Deallocated
  llist_count(&net->ran_conns) == 0
---
- after a while, HLR initiates SS/USSD session
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 2
  llist_count(&vsub->cs.requests) == 0
<-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f03004200001013101013515a11302010102013b300b04010f0406aa510c061b01
DVLR GSUP rx 43: 20010809710000004026f03004200001013101013515a11302010102013b300b04010f0406aa510c061b01
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 3
DMSC Routed to GSM 09.11 SS/USSD handler
DMM Establishing network-originated session
DCC (ti ff sub IMSI-901700000004620_MSISDN-46071 callref 20000101) New transaction
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
DMM Triggering Paging Request
DMM Subscriber IMSI-901700000004620_MSISDN-46071 not paged yet, start paging.
  GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23
  strcmp(paging_expecting_imsi, imsi) == 0
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 5
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 4
<-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: vlr_gsupc_read_cb() returns -22
  llist_count(&vsub->cs.requests) == 1
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
  paging_sent == 1
  paging_stopped == 0
- the subscriber and its pending request should remain
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
  llist_count(&vsub->cs.requests) == 1
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
- MS replies with Paging Response, we deliver the NC/USSD
  MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP
  new conn
DMM RAN_conn{RAN_CONN_S_NEW}: Allocated
DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3)
DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27)
DRR PAGING RESPONSE: MI(IMSI)=901700000004620
DMM RAN_conn(GERAN-A-0_unknown_PAGING_RESP){RAN_CONN_S_NEW}: Updated ID
DVLR Process_Access_Request_VLR(GERAN-A-0_unknown_PAGING_RESP){PR_ARQ_S_INIT}: Allocated
DVLR Process_Access_Request_VLR(GERAN-A-0_unknown_PAGING_RESP){PR_ARQ_S_INIT}: is child of RAN_conn(GERAN-A-0_unknown_PAGING_RESP)
DVLR Process_Access_Request_VLR(GERAN-A-0_unknown_PAGING_RESP){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth)
DVLR Process_Access_Request_VLR(GERAN-A-0_unknown_PAGING_RESP){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 5
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_NEW}: Updated ID
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: _proc_arq_vlr_node2()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei()
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: proc_arq_fsm_done(PASSED)
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_DONE}: Process Access Request result: PASSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_ACCEPTED
DPAG Paging success for IMSI-901700000004620_MSISDN-46071 (event=0)
DPAG Calling paging cbfn.
DMM Paging subscr 46071 succeeded!
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + trans_nc_ss == 2 (0x41: compl_l3,trans_nc_ss)
DMSC msc_tx 25 bytes to IMSI-901700000004620_MSISDN-46071 via GERAN-A
- DTAP --GERAN-A--> MS: GSM0480_MTYPE_REGISTER: 0b3b1c15a11302010102013b300b04010f0406aa510c061b01
- DTAP matches expected message
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 4
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_has_active_transactions: connection still has active transaction: NCSS
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMPLETE_LAYER_3
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - compl_l3 == 1 (0x40: trans_nc_ss)
  dtap_tx_confirmed == 1
  paging_stopped == 1
- MS responds to SS/USSD request
  MSC <--GERAN-A-- MS: GSM0480_MTYPE_FACILITY
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + dtap == 2 (0x42: dtap,trans_nc_ss)
DRLL Dispatching 04.08 message GSM0480_MTYPE_FACILITY (0xb:0x3a)
DMM Received SS/USSD data (trans_id=0, msg_type=GSM0480_MTYPE_FACILITY)
GSUP --> HLR: OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f03004200001013101023527a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_COMMUNICATING
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - dtap == 1 (0x40: trans_nc_ss)
  dtap_tx_confirmed == 1
  paging_stopped == 1
- HLR terminates the session
<-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f0300420000101310103
DVLR GSUP rx 20: 20010809710000004026f0300420000101310103
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
DMSC Routed to GSM 09.11 SS/USSD handler
DMSC msc_tx 2 bytes to IMSI-901700000004620_MSISDN-46071 via GERAN-A
- DTAP --GERAN-A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 0b2a
- DTAP matches expected message
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - trans_nc_ss == 0 (0x0: )
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_COMMUNICATING}: state_chg to RAN_CONN_S_RELEASING
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use + release == 1 (0x100: release)
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage increases to: 4
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 3
- BSSAP Clear --GERAN-A--> MS
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 2
<-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: vlr_gsupc_read_cb() returns 0
  dtap_tx_confirmed == 1
  bssap_clear_sent == 1
- all requests serviced, conn has been released
- BSS sends BSSMAP Clear Complete
DREF IMSI-901700000004620_MSISDN-46071: MSC conn use - release == 0 (0x0: )
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_RELEASING}: state_chg to RAN_CONN_S_RELEASED
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR)
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT)
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_DONE}: Removing from parent RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP)
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_DONE}: Freeing instance
DVLR Process_Access_Request_VLR(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){PR_ARQ_S_DONE}: Deallocated
DRLL IMSI-901700000004620_MSISDN-46071: Freeing RAN connection
DREF VLR subscr IMSI-901700000004620_MSISDN-46071 usage decreases to: 1
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_RELEASED}: Freeing instance
DMM RAN_conn(GERAN-A-0_IMSI-901700000004620_MSISDN-46071_PAGING_RESP){RAN_CONN_S_RELEASED}: Deallocated
  llist_count(&net->ran_conns) == 0
DREF freeing VLR subscr IMSI-901700000004620_MSISDN-46071
===== test_ss_ussd_no_geran: SUCCESS

full talloc report on 'msgb' (total      0 bytes in   1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 13

full talloc report on 'msgb' (total      0 bytes in   1 blocks)
talloc_total_blocks(tall_bsc_ctx) == 13