pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37394?usp=email )
Change subject: asterisk: IMS: Fix To header 'tag' attr not set in resync 401 Unauthorized response ......................................................................
asterisk: IMS: Fix To header 'tag' attr not set in resync 401 Unauthorized response
Change-Id: I74a014eb5cb5084726ef6b0462030a20fdbb3339 --- M asterisk/IMS_ConnectionHandler.ttcn 1 file changed, 10 insertions(+), 0 deletions(-)
Approvals: jolly: Looks good to me, but someone else must approve Jenkins Builder: Verified pespin: Looks good to me, approved
diff --git a/asterisk/IMS_ConnectionHandler.ttcn b/asterisk/IMS_ConnectionHandler.ttcn index f84d504..dd187ad 100644 --- a/asterisk/IMS_ConnectionHandler.ttcn +++ b/asterisk/IMS_ConnectionHandler.ttcn @@ -896,6 +896,7 @@ f_ims_setup_ipsec();
security_server := f_gen_Security_server(); + to_addr.toParams := f_sip_param_set(to_addr.toParams, "tag", f_sip_rand_tag());
/* Tx again 401 Unauthorized, this time our AMI interface will accept it: */ tx_resp := ts_SIP_Response_Unauthorized(sip_call_id,