MGCP: remove hack to fake SDP

A problem with the parameter ordering inside the mgcp-client
(osmo-mgw) prevented TTCN3 from accepting the SDP data that
was generated by the IUT. The problem is now fixed and the
hack can be removed.

- remove hack

Change-Id: Ic37f78c2676e7c98144f10e9f3b55bc9651a4f7c
Related: OS#2818
This commit is contained in:
Philipp Maier 2018-02-08 17:05:47 +01:00
parent b20c3dcced
commit c0375167da
1 changed files with 0 additions and 3 deletions

View File

@ -207,9 +207,6 @@ altstep as_Media() runs on MSC_ConnHdlr {
g_media.mgcp_conn[cid].peer.port_nr := sdp.media_list[0].media_field.ports.port_number;
} else {
setverdict(fail, "MDCX has no [recognizable] SDP");
/* HACK HACK HACK */
g_media.mgcp_conn[cid].peer.host := "8.8.8.8";
g_media.mgcp_conn[cid].peer.port_nr := 2342;
}
var MgcpConnState mgcp_conn := g_media.mgcp_conn[cid];
sdp := valueof(ts_SDP(mgcp_conn.peer.host, mgcp_conn.peer.host, "foo", "21",