osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33594 )


Change subject: msc/BSC_ConnHdlr: f_call_hangup: unregister IMSI
......................................................................

msc/BSC_ConnHdlr: f_call_hangup: unregister IMSI

Fix the missing call to f_ran_unregister_imsi when running f_mt_call():

f_mt_call()
-> f_mt_call_establish()
   -> f_ran_register_imsi()
-> f_call_hangup()
   -> f_ran_unregister_imsi()

This is in preparation for calling f_mt_call() multiple times during one
test, to test various CSD bearer services. Without this patch, it will
result in a "No space left in ImsiTable" error.

Related: OS#4394
Change-Id: Ie9b180b95348d7e84650c14a331c5091a1e67d1f
---
M msc/BSC_ConnectionHandler.ttcn
1 file changed, 24 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/94/33594/1

diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index 8c9f63f..4eedeee 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -1839,6 +1839,8 @@

        deactivate(mdcx);
        deactivate(dlcx);
+
+       f_ran_unregister_imsi(g_pars.imsi);
 }

 function f_mt_call(inout CallParameters cpars)

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33594
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie9b180b95348d7e84650c14a331c5091a1e67d1f
Gerrit-Change-Number: 33594
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to