From 118ddebc368f390fb5f127bdbaeb393eb20b9c59 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 8 Jan 2010 15:24:21 +0100 Subject: [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. --- openbsc/src/gsm_data.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/src/gsm_data.c') diff --git a/openbsc/src/gsm_data.c b/openbsc/src/gsm_data.c index 18a3ac2c2..8330b5190 100644 --- a/openbsc/src/gsm_data.c +++ b/openbsc/src/gsm_data.c @@ -226,6 +226,7 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c net->core_country_code = -1; net->core_network_code = -1; + net->rtp_base_port = 4000; return net; } -- cgit v1.2.3