[MERGED] osmo-ttcn3-hacks[master]: mgw: Fix mixed-up MGW / local IP address

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Mar 29 16:02:39 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: mgw: Fix mixed-up MGW / local IP address
......................................................................


mgw: Fix mixed-up MGW / local IP address

Change-Id: Ie4f6da896f53e9fabd7275fe6d8f8c6309e02d14
---
M mgw/MGCP_Test.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index 4872aba..c1ff3fc 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -255,7 +255,7 @@
 		if (one_phase) {
 			/* Connect flow to MGW */
 			cmd := ts_CRCX(get_next_trans_id(), ep, "sendrecv", call_id);
-			cmd.sdp := ts_SDP(flow.em.hostname, flow.mgw.hostname, "23", "42",
+			cmd.sdp := ts_SDP(flow.em.hostname, flow.em.hostname, "23", "42",
 					  flow.em.portnr, { int2str(flow.pt) },
 					  { valueof(ts_SDP_rtpmap(flow.pt, flow.codec)),
 					    valueof(ts_SDP_ptime(20)) });
@@ -275,7 +275,7 @@
 
 			/* then connect it to the emulation-side RTP socket using SDP */
 			cmd := ts_MDCX(get_next_trans_id(), ep, "sendrecv", call_id, flow.mgcp_conn_id);
-			cmd.sdp := ts_SDP(flow.em.hostname, flow.mgw.hostname, "23", "42",
+			cmd.sdp := ts_SDP(flow.em.hostname, flow.em.hostname, "23", "42",
 					  flow.em.portnr, { int2str(flow.pt) },
 					  { valueof(ts_SDP_rtpmap(flow.pt, flow.codec)),
 					    valueof(ts_SDP_ptime(20)) });

-- 
To view, visit https://gerrit.osmocom.org/7586
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie4f6da896f53e9fabd7275fe6d8f8c6309e02d14
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list