pespin has submitted this change. ( 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(-)
Approvals: pespin: Looks good to me, approved jolly: Looks good to me, but someone else must approve Jenkins Builder: Verified
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; }