summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-29 18:01:16 +0200
committerHarald Welte <laforge@gnumonks.org>2018-03-29 18:01:51 +0200
commitedc887435e06362134d293c4ef14ec4d05067df0 (patch)
treeafb14f1bd3501c2b21b42120271928b4081963d9
parent935cb8f6baee6429144bafad7491b6e69bbbab41 (diff)
mgw: Fix mixed-up MGW / local IP address
-rw-r--r--mgw/MGCP_Test.ttcn4
1 files changed, 2 insertions, 2 deletions
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 @@ module MGCP_Test {
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 @@ module MGCP_Test {
/* 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)) });