diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-05 03:08:35 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-05 06:10:57 +0800 |
commit | 58ff219c856a4ad4648e4de06f90907d6964a251 (patch) | |
tree | 5914d714e5769268d4fc4087d5b158a1c39786f7 /openbsc/include/openbsc/mgcp_internal.h | |
parent | a17d701a708c157f26b91c6ab8960fa7db33e7cd (diff) |
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.
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 |