pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37307?usp=email )
Change subject: asterisk: Fix events in between unregistration procedure
......................................................................
asterisk: Fix events in between unregistration procedure
Change-Id: I3c9cffa1756a87334e609e85a32509ed11f026c1
---
M asterisk/Asterisk_Tests.ttcn
1 file changed, 14 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/07/37307/1
diff --git a/asterisk/Asterisk_Tests.ttcn b/asterisk/Asterisk_Tests.ttcn
index b7981eb..463f7cd 100644
--- a/asterisk/Asterisk_Tests.ttcn
+++ b/asterisk/Asterisk_Tests.ttcn
@@ -429,9 +429,11 @@
private function f_AMI_IMS_unregister(IMS_ConnHdlrPars pars) runs on test_CT
{
f_ami_action_PJSIPUnregister(AMI_CLIENT, mp_volte_ims_outbound_registration);
- AMI_CLIENT.receive(tr_AMI_Event_Registry(f_sip_SipAddr_to_str(pars.subscr.local_sip_record),
- "sip:" & mp_ims_domain,
- "Unregistered"));
+ var template (present) AMI_Msg msg_expect :=
+ tr_AMI_Event_Registry(f_sip_SipAddr_to_str(pars.subscr.local_sip_record),
+ "sip:" & mp_ims_domain,
+ "Unregistered");
+ f_ami_wait_rx_msg(AMI_CLIENT, msg_expect, fail_others := false);
}
/* Test IMS registration of VoLTE UE */
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37307?usp=email
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: I3c9cffa1756a87334e609e85a32509ed11f026c1
Gerrit-Change-Number: 37307
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange