Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 1 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Stefan Sperling | afa030d | 2018-12-06 12:06:59 +0100 | [diff] [blame] | 2 | talloc_total_blocks(tall_bsc_ctx) == 13 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 3 | |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 4 | ===== test_ss_ussd_mo_geran |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 5 | - Location Update request causes a GSUP LU request to HLR |
| 6 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 7 | new conn |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 8 | DMM RAN_conn{RAN_CONN_S_NEW}: Allocated |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 9 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
| 10 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 11 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Updated ID |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 12 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 13 | DMM LU/new-LAC: 1/23 |
| 14 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 15 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of RAN_conn(LU:901700000004620) |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 16 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 17 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 18 | DREF VLR subscr unknown usage increases to: 1 |
| 19 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 20 | DVLR New subscr, IMSI: 901700000004620 |
| 21 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 22 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 23 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 24 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 25 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 26 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 27 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 28 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 29 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 30 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | d0756b1 | 2018-09-28 02:41:39 +0200 | [diff] [blame] | 31 | DVLR GSUP tx: 04010809710000004026f0280102 |
| 32 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0280102 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 33 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 34 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 |
| 35 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_AUTH_CIPH |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 36 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 37 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED |
| 38 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 39 | lu_result_sent == 0 |
| 40 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 41 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 42 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 43 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 44 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 45 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
| 46 | DVLR GSUP tx: 12010809710000004026f0 |
| 47 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 48 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 49 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 50 | lu_result_sent == 0 |
| 51 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 52 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 53 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 54 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 55 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 56 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 57 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 58 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 59 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 60 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 61 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 62 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 63 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 64 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 65 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 66 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 67 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 68 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 69 | - sending LU Accept for MSISDN:46071 |
| 70 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 71 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 72 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 73 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 74 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 75 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 76 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 77 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 78 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_ACCEPTED |
| 79 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED |
| 80 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_UNUSED |
| 81 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_RELEASING |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 82 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
| 83 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 84 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 85 | - BSSAP Clear --RAN_GERAN_A--> MS |
| 86 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 87 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 88 | - LU was successful, and the conn has already been closed |
| 89 | lu_result_sent == 1 |
| 90 | bssap_clear_sent == 1 |
| 91 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 92 | vsub != NULL == 1 |
| 93 | strcmp(vsub->imsi, IMSI) == 0 |
Max | 33b6d0c | 2018-12-17 17:15:13 +0100 | [diff] [blame] | 94 | LAC == 23 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 95 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 96 | - BSS sends BSSMAP Clear Complete |
| 97 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 98 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED |
| 99 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: state_chg to RAN_CONN_S_RELEASED |
| 100 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 101 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 102 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent RAN_conn(LU:901700000004620) |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 103 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 104 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 105 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 106 | DRLL MSISDN:46071: Freeing RAN connection |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 107 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 108 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Freeing instance |
| 109 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated |
| 110 | llist_count(&net->ran_conns) == 0 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 111 | --- |
| 112 | - after a while, a new conn sends a CM Service Request |
| 113 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 114 | new conn |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 115 | DMM RAN_conn{RAN_CONN_S_NEW}: Allocated |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 116 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
| 117 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 118 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 119 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_NEW}: Updated ID |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 120 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: Allocated |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 121 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: is child of RAN_conn(CM_SERVICE_REQ:901700000004620) |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 122 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 123 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 124 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 125 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 126 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 127 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 128 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 129 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 130 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 131 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 132 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 133 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(PASSED) |
| 134 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 135 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
| 136 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 137 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_ACCEPTED |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 138 | DREF MSISDN:46071: MSC conn use + cm_service == 2 (0x9: compl_l3,cm_service) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 139 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED |
| 140 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 141 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 142 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 143 | DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x8: cm_service) |
| 144 | cm_service_result_sent == 1 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 145 | ran_conn_is_accepted() == true |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 146 | MSC <--RAN_GERAN_A-- MS: GSM0480_MTYPE_REGISTER |
| 147 | DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
| 148 | DRLL Dispatching 04.08 message GSM0480_MTYPE_REGISTER (0xb:0x3b) |
| 149 | DMM Received SS/USSD data (trans_id=8, msg_type=GSM0480_MTYPE_REGISTER) |
| 150 | DMM -> (new transaction) |
| 151 | DCC (ti 08 sub MSISDN:46071 callref 20000001) New transaction |
| 152 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 153 | DREF MSISDN:46071: MSC conn use + trans_nc_ss == 3 (0x4a: dtap,cm_service,trans_nc_ss) |
| 154 | DMM MSISDN:46071: rx msg GSM0480_MTYPE_REGISTER: received_cm_service_request changes to false |
| 155 | DREF MSISDN:46071: MSC conn use - cm_service == 2 (0x42: dtap,trans_nc_ss) |
Vadim Yanitskiy | 8a6ef55 | 2018-06-12 08:21:20 +0700 | [diff] [blame] | 156 | GSUP --> HLR: OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f03004200000013101013515a11302010102013b300b04010f0406aa510c061b01 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 157 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING |
| 158 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_COMMUNICATING |
Vadim Yanitskiy | 8a6ef55 | 2018-06-12 08:21:20 +0700 | [diff] [blame] | 159 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x40: trans_nc_ss) |
| 160 | <-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f03004200000013101033527a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
| 161 | DVLR GSUP rx 61: 20010809710000004026f03004200000013101033527a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
| 162 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 163 | DMSC Routed to GSM 09.11 SS/USSD handler |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 164 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
| 165 | - DTAP --RAN_GERAN_A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 8b2a1c27a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
| 166 | - DTAP matches expected message |
Vadim Yanitskiy | 8a6ef55 | 2018-06-12 08:21:20 +0700 | [diff] [blame] | 167 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 168 | DREF MSISDN:46071: MSC conn use - trans_nc_ss == 0 (0x0: ) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 169 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_UNUSED |
| 170 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg to RAN_CONN_S_RELEASING |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 171 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
Vadim Yanitskiy | 8a6ef55 | 2018-06-12 08:21:20 +0700 | [diff] [blame] | 172 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 173 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 174 | - BSSAP Clear --RAN_GERAN_A--> MS |
Vadim Yanitskiy | 8a6ef55 | 2018-06-12 08:21:20 +0700 | [diff] [blame] | 175 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 176 | <-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: vlr_gsupc_read_cb() returns 0 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 177 | dtap_tx_confirmed == 1 |
| 178 | bssap_clear_sent == 1 |
| 179 | - all requests serviced, conn has been released |
| 180 | - BSS sends BSSMAP Clear Complete |
| 181 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 182 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED |
| 183 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_RELEASING}: state_chg to RAN_CONN_S_RELEASED |
| 184 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 185 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 186 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Removing from parent RAN_conn(CM_SERVICE_REQ:901700000004620) |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 187 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 188 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 189 | DRLL MSISDN:46071: Freeing RAN connection |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 190 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 191 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_RELEASED}: Freeing instance |
| 192 | DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_RELEASED}: Deallocated |
| 193 | llist_count(&net->ran_conns) == 0 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 194 | DREF freeing VLR subscr MSISDN:46071 |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 195 | ===== test_ss_ussd_mo_geran: SUCCESS |
| 196 | |
| 197 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Stefan Sperling | afa030d | 2018-12-06 12:06:59 +0100 | [diff] [blame] | 198 | talloc_total_blocks(tall_bsc_ctx) == 13 |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 199 | |
| 200 | ===== test_ss_ussd_no_geran |
| 201 | - Location Update request causes a GSUP LU request to HLR |
| 202 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 203 | new conn |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 204 | DMM RAN_conn{RAN_CONN_S_NEW}: Allocated |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 205 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
| 206 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 207 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Updated ID |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 208 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 209 | DMM LU/new-LAC: 1/23 |
| 210 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 211 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of RAN_conn(LU:901700000004620) |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 212 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 213 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 214 | DREF VLR subscr unknown usage increases to: 1 |
| 215 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 216 | DVLR New subscr, IMSI: 901700000004620 |
| 217 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 218 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 219 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 220 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 221 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 222 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 223 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 224 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 225 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 226 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | d0756b1 | 2018-09-28 02:41:39 +0200 | [diff] [blame] | 227 | DVLR GSUP tx: 04010809710000004026f0280102 |
| 228 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0280102 |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 229 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 230 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 |
| 231 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_AUTH_CIPH |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 232 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 233 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED |
| 234 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 235 | lu_result_sent == 0 |
| 236 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 237 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 238 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 239 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 240 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 241 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
| 242 | DVLR GSUP tx: 12010809710000004026f0 |
| 243 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 244 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 245 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 246 | lu_result_sent == 0 |
| 247 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 248 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 249 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 250 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 251 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 252 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 253 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 254 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 255 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 256 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 257 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 258 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 259 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 260 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 261 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 262 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 263 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 264 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 265 | - sending LU Accept for MSISDN:46071 |
| 266 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 267 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 268 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 269 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 270 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 271 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 272 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 273 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 274 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_ACCEPTED |
| 275 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED |
| 276 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_UNUSED |
| 277 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_RELEASING |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 278 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
| 279 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 280 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 281 | - BSSAP Clear --RAN_GERAN_A--> MS |
| 282 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 283 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 284 | - LU was successful, and the conn has already been closed |
| 285 | lu_result_sent == 1 |
| 286 | bssap_clear_sent == 1 |
| 287 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 288 | vsub != NULL == 1 |
| 289 | strcmp(vsub->imsi, IMSI) == 0 |
Max | 33b6d0c | 2018-12-17 17:15:13 +0100 | [diff] [blame] | 290 | LAC == 23 |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 291 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 292 | - BSS sends BSSMAP Clear Complete |
| 293 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 294 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED |
| 295 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: state_chg to RAN_CONN_S_RELEASED |
| 296 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 297 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 298 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent RAN_conn(LU:901700000004620) |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 299 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 300 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 301 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 302 | DRLL MSISDN:46071: Freeing RAN connection |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 303 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 304 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Freeing instance |
| 305 | DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated |
| 306 | llist_count(&net->ran_conns) == 0 |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 307 | --- |
| 308 | - after a while, HLR initiates SS/USSD session |
| 309 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 310 | llist_count(&vsub->cs.requests) == 0 |
| 311 | <-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f03004200001013101013515a11302010102013b300b04010f0406aa510c061b01 |
| 312 | DVLR GSUP rx 43: 20010809710000004026f03004200001013101013515a11302010102013b300b04010f0406aa510c061b01 |
| 313 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 314 | DMSC Routed to GSM 09.11 SS/USSD handler |
| 315 | DMM Establishing network-originated session |
| 316 | DCC (ti ff sub MSISDN:46071 callref 20000101) New transaction |
| 317 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 318 | DMM Triggering Paging Request |
| 319 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 320 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 |
| 321 | strcmp(paging_expecting_imsi, imsi) == 0 |
| 322 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 323 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 324 | <-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: vlr_gsupc_read_cb() returns -22 |
| 325 | llist_count(&vsub->cs.requests) == 1 |
| 326 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 327 | paging_sent == 1 |
| 328 | paging_stopped == 0 |
| 329 | - the subscriber and its pending request should remain |
| 330 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 331 | llist_count(&vsub->cs.requests) == 1 |
| 332 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 333 | - MS replies with Paging Response, we deliver the NC/USSD |
| 334 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
| 335 | new conn |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 336 | DMM RAN_conn{RAN_CONN_S_NEW}: Allocated |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 337 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
| 338 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
| 339 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 340 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: Updated ID |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 341 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: Allocated |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 342 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: is child of RAN_conn(PAGING_RESP:901700000004620) |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 343 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 344 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 345 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 346 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 347 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 348 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 349 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 350 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 351 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 352 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 353 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 354 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(PASSED) |
| 355 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 356 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 357 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_ACCEPTED |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 358 | DPAG Paging success for MSISDN:46071 (event=0) |
| 359 | DPAG Calling paging cbfn. |
| 360 | DMM Paging subscr 46071 succeeded! |
| 361 | DREF MSISDN:46071: MSC conn use + trans_nc_ss == 2 (0x41: compl_l3,trans_nc_ss) |
| 362 | DMSC msc_tx 25 bytes to MSISDN:46071 via RAN_GERAN_A |
| 363 | - DTAP --RAN_GERAN_A--> MS: GSM0480_MTYPE_REGISTER: 0b3b1c15a11302010102013b300b04010f0406aa510c061b01 |
| 364 | - DTAP matches expected message |
| 365 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 366 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED |
| 367 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_has_active_transactions: connection still has active transaction: NCSS |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 368 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 369 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 370 | DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x40: trans_nc_ss) |
| 371 | dtap_tx_confirmed == 1 |
| 372 | paging_stopped == 1 |
| 373 | - MS responds to SS/USSD request |
| 374 | MSC <--RAN_GERAN_A-- MS: GSM0480_MTYPE_FACILITY |
| 375 | DREF MSISDN:46071: MSC conn use + dtap == 2 (0x42: dtap,trans_nc_ss) |
| 376 | DRLL Dispatching 04.08 message GSM0480_MTYPE_FACILITY (0xb:0x3a) |
| 377 | DMM Received SS/USSD data (trans_id=0, msg_type=GSM0480_MTYPE_FACILITY) |
| 378 | GSUP --> HLR: OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f03004200001013101023527a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 379 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING |
| 380 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_COMMUNICATING |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 381 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x40: trans_nc_ss) |
| 382 | dtap_tx_confirmed == 1 |
| 383 | paging_stopped == 1 |
| 384 | - HLR terminates the session |
| 385 | <-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: 20010809710000004026f0300420000101310103 |
| 386 | DVLR GSUP rx 20: 20010809710000004026f0300420000101310103 |
| 387 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 388 | DMSC Routed to GSM 09.11 SS/USSD handler |
| 389 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
| 390 | - DTAP --RAN_GERAN_A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 0b2a |
| 391 | - DTAP matches expected message |
| 392 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 393 | DREF MSISDN:46071: MSC conn use - trans_nc_ss == 0 (0x0: ) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 394 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_UNUSED |
| 395 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg to RAN_CONN_S_RELEASING |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 396 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
| 397 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 398 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 399 | - BSSAP Clear --RAN_GERAN_A--> MS |
| 400 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 401 | <-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 402 | dtap_tx_confirmed == 1 |
| 403 | bssap_clear_sent == 1 |
| 404 | - all requests serviced, conn has been released |
| 405 | - BSS sends BSSMAP Clear Complete |
| 406 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 407 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED |
| 408 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASING}: state_chg to RAN_CONN_S_RELEASED |
| 409 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 410 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 411 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Removing from parent RAN_conn(PAGING_RESP:901700000004620) |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 412 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 413 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 414 | DRLL MSISDN:46071: Freeing RAN connection |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 415 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | c036b79 | 2018-11-29 22:37:51 +0100 | [diff] [blame] | 416 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASED}: Freeing instance |
| 417 | DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASED}: Deallocated |
| 418 | llist_count(&net->ran_conns) == 0 |
Vadim Yanitskiy | f2f83b0 | 2018-06-17 21:09:28 +0700 | [diff] [blame] | 419 | DREF freeing VLR subscr MSISDN:46071 |
| 420 | ===== test_ss_ussd_no_geran: SUCCESS |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 421 | |
| 422 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Stefan Sperling | afa030d | 2018-12-06 12:06:59 +0100 | [diff] [blame] | 423 | talloc_total_blocks(tall_bsc_ctx) == 13 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 424 | |
| 425 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Stefan Sperling | afa030d | 2018-12-06 12:06:59 +0100 | [diff] [blame] | 426 | talloc_total_blocks(tall_bsc_ctx) == 13 |
Vadim Yanitskiy | 2760585 | 2018-06-15 23:57:30 +0700 | [diff] [blame] | 427 | |