pespin submitted this change.
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(-)
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,
To view, visit change 37394. To unsubscribe, or for help writing mail filters, visit settings.