aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 04:10:21 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 06:12:02 +0800
commit314584ab4418c544db42fbaedded54f68b35412d (patch)
treecea0e7e6b4103939b7b4c158ec1715298690d31b /openbsc/include/openbsc/mgcp.h
parent196349dda18d8e6a49c318ad6659291818ad21fd (diff)
mgcp: Allocate a different port for the networking...
Use the right source port when sending the message.
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r--openbsc/include/openbsc/mgcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index 811ba2ced..9d0c60f33 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -29,6 +29,7 @@
#include <arpa/inet.h>
#define RTP_PORT_DEFAULT 4000
+#define RTP_PORT_NET_DEFAULT 16000
/**
* Calculate the RTP audio port for the given multiplex
@@ -92,6 +93,7 @@ struct mgcp_config {
int audio_payload;
int audio_loop;
int rtp_bts_base_port;
+ int rtp_net_base_port;
int endp_dscp;
/* spec handling */