diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-08 15:24:21 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-08 15:24:21 +0100 |
commit | 118ddebc368f390fb5f127bdbaeb393eb20b9c59 (patch) | |
tree | 6304801baefecaaa8cba935820ec25420618d07a /openbsc/src/vty_interface.c | |
parent | bb53004d4743dd28cf370794ec0d451902d895a2 (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/vty_interface.c')
-rw-r--r-- | openbsc/src/vty_interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c index e53e7c6f9..ef8f6b2d1 100644 --- a/openbsc/src/vty_interface.c +++ b/openbsc/src/vty_interface.c @@ -334,6 +334,7 @@ static int config_write_net(struct vty *vty) vty_out(vty, " timer t3119 %u%s", gsmnet->T3119, VTY_NEWLINE); vty_out(vty, " timer t3141 %u%s", gsmnet->T3141, VTY_NEWLINE); vty_out(vty, " ipacc rtp_payload %u%s", gsmnet->rtp_payload, VTY_NEWLINE); + vty_out(vty, " rtp base %u%s", gsmnet->rtp_base_port, VTY_NEWLINE); if (gsmnet->audio_length != 0) { int i; |