diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-03-29 17:39:10 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-03-29 18:01:51 +0200 |
commit | 935cb8f6baee6429144bafad7491b6e69bbbab41 (patch) | |
tree | 03c3cd48121d08bd7163ff40272c854b88f9fd51 /mgw/MGCP_Test.ttcn | |
parent | 38d6894cd602bcc31c770fb9c77bc819dae01540 (diff) |
mgw: Don't use RTP_Endpoint anymore. We use RTP_Emulation new.
Change-Id: I6302412daaafc37c8e7740cce4806405d3086fa7
Diffstat (limited to 'mgw/MGCP_Test.ttcn')
-rw-r--r-- | mgw/MGCP_Test.ttcn | 11 |
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]); |