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 <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to