pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37126?usp=email )
Change subject: asterisk: IMS: Expect protected server port in Via
......................................................................
asterisk: IMS: Expect protected server port in Via
Related: SYS#6964
Change-Id: I56778507bb2c21d95feece0f814f4dc4977d2b0b
---
M asterisk/IMS_ConnectionHandler.ttcn
1 file changed, 14 insertions(+), 4 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/asterisk/IMS_ConnectionHandler.ttcn b/asterisk/IMS_ConnectionHandler.ttcn
index 1eae16d..c7eb84c 100644
--- a/asterisk/IMS_ConnectionHandler.ttcn
+++ b/asterisk/IMS_ConnectionHandler.ttcn
@@ -595,7 +595,7 @@
?,
tr_From(),
tr_To(),
- tr_Via_from(f_tr_HostPort(g_pars.subscr.remote_sip_host,
g_pars.subscr.ipsec_remote_port_c)),
+ tr_Via_from(f_tr_HostPort(g_pars.subscr.remote_sip_host,
g_pars.subscr.ipsec_remote_port_s)),
authorization := authorization);
SIP.receive(exp_req) -> value g_rx_sip_req;
@@ -662,7 +662,7 @@
?,
tr_From(),
tr_To(),
- tr_Via_from(f_tr_HostPort(g_pars.subscr.remote_sip_host,
g_pars.subscr.ipsec_remote_port_c)),
+ tr_Via_from(f_tr_HostPort(g_pars.subscr.remote_sip_host,
g_pars.subscr.ipsec_remote_port_s)),
expires := tr_Expires(int2str(0)),
require := tr_Require(superset("sec-agree")),
security_client :=
tr_Security_client(superset(tr_Security_mechanism("ipsec-3gpp",
@@ -765,7 +765,7 @@
?,
tr_From(tr_Addr_Union_from_val(g_pars.subscr.cp.calling.addr), *),
tr_To(tr_Addr_Union_from_val(g_pars.subscr.cp.called.addr), *),
- tr_Via_from(f_tr_HostPort(g_pars.subscr.remote_sip_host,
g_pars.subscr.ipsec_remote_port_c)),
+ tr_Via_from(f_tr_HostPort(g_pars.subscr.remote_sip_host,
g_pars.subscr.ipsec_remote_port_s)),
?, ?);
var charstring sip_expect_str := log2str(exp_req);
@@ -823,7 +823,7 @@
g_pars.subscr.cp.sip_call_id,
g_pars.subscr.cp.from_addr,
g_pars.subscr.cp.to_addr,
- tr_Via_from(f_tr_HostPort(g_pars.subscr.remote_sip_host,
g_pars.subscr.ipsec_remote_port_c)),
+ tr_Via_from(f_tr_HostPort(g_pars.subscr.remote_sip_host,
g_pars.subscr.ipsec_remote_port_s)),
exp_seq_nr);
var charstring sip_expect_str := log2str(exp_req);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37126?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: I56778507bb2c21d95feece0f814f4dc4977d2b0b
Gerrit-Change-Number: 37126
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged