pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37332?usp=email )
Change subject: WIP: asterisk: Avoid waiting for 183 to signal DedicatedBearerStatus Up ......................................................................
WIP: asterisk: Avoid waiting for 183 to signal DedicatedBearerStatus Up
Change-Id: Icca6268f484d2a723d4d70de8755b7ec605b9194 --- M asterisk/IMS_ConnectionHandler.ttcn 1 file changed, 14 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/32/37332/1
diff --git a/asterisk/IMS_ConnectionHandler.ttcn b/asterisk/IMS_ConnectionHandler.ttcn index 51f96ea..1609304 100644 --- a/asterisk/IMS_ConnectionHandler.ttcn +++ b/asterisk/IMS_ConnectionHandler.ttcn @@ -1190,6 +1190,11 @@ g_pars.subscr.cp.sip_seq_nr, "INVITE"); d_trying := activate(as_SIP_ignore_resp(exp));
+ if (g_pars.subscr.cp.mt.tx_coord_cmd_session_progress) { + /* Signal used to inform that Dedicated bearer can be established: */ + COORD.send(IMS_COORD_CMD_CALL_SESSION_PROGRESS); + } + if (g_pars.subscr.cp.require_precondition_ext) { var template (present) SDP_attribute_list preconds; /* Rx 183 Session Progress */ @@ -1246,11 +1251,6 @@ body := omit); SIP.send(req);
- if (g_pars.subscr.cp.mt.tx_coord_cmd_session_progress) { - /* Signal used to inform that Dedicated bearer can be established: */ - COORD.send(IMS_COORD_CMD_CALL_SESSION_PROGRESS); - } - /* Rx 200 OK (PRACK) */ exp := tr_SIP_Response(g_pars.subscr.cp.sip_call_id, from_addr_exp,