aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_mgcp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-08 15:24:21 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-08 15:24:21 +0100
commit118ddebc368f390fb5f127bdbaeb393eb20b9c59 (patch)
tree6304801baefecaaa8cba935820ec25420618d07a /openbsc/src/bsc_mgcp.c
parentbb53004d4743dd28cf370794ec0d451902d895a2 (diff)
[on-waves] Use a default rtp_base_port, write it out in the config
Currently "write memory" will not store the rtp_base_port of the network. Fix that by writing it out in write_net. Also set it to 4000 by default in the MGCP and in the BSC.
Diffstat (limited to 'openbsc/src/bsc_mgcp.c')
-rw-r--r--openbsc/src/bsc_mgcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/bsc_mgcp.c b/openbsc/src/bsc_mgcp.c
index bdfe08483..d5e53c565 100644
--- a/openbsc/src/bsc_mgcp.c
+++ b/openbsc/src/bsc_mgcp.c
@@ -63,7 +63,7 @@ static const char *audio_name = "GSM-EFR/8000";
static int audio_payload = 97;
static int audio_loop = 0;
static int early_bind = 0;
-static int rtp_base_port = 0;
+static int rtp_base_port = 4000;
static char *forward_ip = NULL;
static char *config_file = "mgcp.cfg";