aboutsummaryrefslogtreecommitdiffstats
path: root/mgw/MGCP_Test.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'mgw/MGCP_Test.ttcn')
-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]);