aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-29 17:39:10 +0200
committerHarald Welte <laforge@gnumonks.org>2018-03-29 18:01:51 +0200
commit935cb8f6baee6429144bafad7491b6e69bbbab41 (patch)
tree03c3cd48121d08bd7163ff40272c854b88f9fd51
parent38d6894cd602bcc31c770fb9c77bc819dae01540 (diff)
mgw: Don't use RTP_Endpoint anymore. We use RTP_Emulation new.
-rw-r--r--mgw/MGCP_Test.ttcn11
1 files changed, 0 insertions, 11 deletions
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index 007775c1..4872aba1 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -7,7 +7,6 @@ module MGCP_Test {
import from MGCP_CodecPort_CtrlFunct all;
import from RTP_CodecPort all;
import from RTP_CodecPort_CtrlFunct all;
- import from RTP_Endpoint all;
import from RTP_Emulation all;
import from IPL4asp_Types all;
@@ -19,13 +18,10 @@ module MGCP_Test {
* class members in C++ */
type component dummy_CT {
port MGCP_CODEC_PT MGCP;
- port RTP_CODEC_PT RTP;
var boolean initialized := false;
var ConnectionId g_mgcp_conn_id := -1;
var integer g_trans_id;
- var RtpEndpoint g_rtp_ep[2];
-
var RTP_Emulation_CT vc_RTPEM[2];
port RTPEM_CTRL_PT RTPEM[2];
};
@@ -74,13 +70,6 @@ module MGCP_Test {
res := MGCP_CodecPort_CtrlFunct.f_IPL4_connect(MGCP, mp_remote_ip, mp_remote_udp_port, mp_local_ip, mp_local_udp_port, 0, { udp := {} });
g_mgcp_conn_id := res.connId;
- map(self:RTP, system:RTP_CODEC_PT);
- ssrc := float2int(rnd()*4294967296.0);
- rtp_endpoint_init(g_rtp_ep[0], mp_local_ip, mp_local_rtp_port_base, ssrc);
- rtp_endpoint_bind(RTP, g_rtp_ep[0]);
- rtp_endpoint_init(g_rtp_ep[1], mp_local_ip, mp_local_rtp_port_base+2, ssrc);
- rtp_endpoint_bind(RTP, g_rtp_ep[1]);
-
for (var integer i := 0; i < sizeof(vc_RTPEM); i := i+1) {
f_rtpem_init(vc_RTPEM[i], i);
connect(vc_RTPEM[i]:CTRL, self:RTPEM[i]);