From 58ff219c856a4ad4648e4de06f90907d6964a251 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 5 Aug 2010 03:08:35 +0800 Subject: mgcp: Attempt to separate the RTP/RTCP port for the Network and for the BTS We plan to have two different ports for the network and for the BTS to avoid detecting the BTS and to dynamically allocate the port to have old data not go to a new socket. --- openbsc/include/openbsc/mgcp_internal.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'openbsc/include/openbsc/mgcp_internal.h') diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index 1ac8ad42f..872afbf2e 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -58,6 +58,8 @@ struct mgcp_rtp_end { int rtp_port, rtcp_port; int payload_type; + + int local_port; }; struct mgcp_endpoint { @@ -67,9 +69,6 @@ struct mgcp_endpoint { int conn_mode; int orig_mode; - /* the local rtp port we are binding to */ - int rtp_port; - /* * RTP mangling: * - we get RTP and RTCP to us and need to forward to the BTS -- cgit v1.2.3