pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37323?usp=email )
Change subject: asterisk: SIP: Fix INVITE template use
......................................................................
asterisk: SIP: Fix INVITE template use
New optional parameters for extra headers were added to tr_SIP_INVITE,
but this user was not updated to keep the previous logic.
Change-Id: I98b23533f35ffa09f488cb520ed9282935793408
---
M asterisk/SIP_ConnectionHandler.ttcn
1 file changed, 15 insertions(+), 2 deletions(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/asterisk/SIP_ConnectionHandler.ttcn b/asterisk/SIP_ConnectionHandler.ttcn
index 3bc4f1d..0cb6167 100644
--- a/asterisk/SIP_ConnectionHandler.ttcn
+++ b/asterisk/SIP_ConnectionHandler.ttcn
@@ -564,7 +564,8 @@
tr_From(tr_Addr_Union_from_val(g_pars.cp.calling.addr), *),
tr_To(tr_Addr_Union_from_val(g_pars.cp.called.addr), *),
tr_Via_from(f_tr_HostPort(g_pars.remote_sip_host, g_pars.remote_sip_port)),
- ?, ?);
+ ?,
+ body := ?);
var charstring sip_expect_str := log2str(exp_req);
[] SIP.receive(exp_req) -> value g_rx_sip_req {
@@ -695,7 +696,7 @@
g_pars.cp.to_addr,
tr_Via_from(f_tr_HostPort(g_pars.remote_sip_host, g_pars.remote_sip_port)),
exp_seq_nr,
- ?);
+ body := ?);
var charstring sip_expect_str := log2str(exp_req);
[] SIP.receive(exp_req) -> value g_rx_sip_req {
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37323?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: I98b23533f35ffa09f488cb520ed9282935793408
Gerrit-Change-Number: 37323
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged