pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37430?usp=email )
Change subject: asterisk: Unregister SIP UAs whose MT call gets cancelled
......................................................................
asterisk: Unregister SIP UAs whose MT call gets cancelled
Otherwise they are kept registered in Asterisk and that makes Asterisk
try to page them on subsequent MT calls to extension 500, making
test expectancies fail.
Change-Id: If76c7ac3bb6bb85643a8b83800954d5025593d25
---
M asterisk/Asterisk_Tests.ttcn
1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/30/37430/1
diff --git a/asterisk/Asterisk_Tests.ttcn b/asterisk/Asterisk_Tests.ttcn
index 3f9db75..ec55254 100644
--- a/asterisk/Asterisk_Tests.ttcn
+++ b/asterisk/Asterisk_Tests.ttcn
@@ -236,6 +236,8 @@
if (g_pars.cp.mt.exp_cancel) {
as_SIP_mt_call_cancelled();
COORD.send(COORD_CMD_CALL_CANCELLED);
+ COORD.receive(COORD_CMD_UNREGISTER);
+ f_SIP_unregister();
setverdict(pass);
return;
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37430?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: If76c7ac3bb6bb85643a8b83800954d5025593d25
Gerrit-Change-Number: 37430
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange