aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-05 12:29:36 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-05 12:29:36 +0100
commit91fc9bf8620034dc6c8f6e37894d801ff99b6b79 (patch)
treee45cec999044fcb592fada3e509590831bc0f562
parent111a58dd376eebad0ba92005a7bcd878ef0c4064 (diff)
[bsc_mgcp] Fix writing of the config file...
* Add the new forward audio option
-rw-r--r--openbsc/src/bsc_mgcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/bsc_mgcp.c b/openbsc/src/bsc_mgcp.c
index e6e49278c..56a0b13c1 100644
--- a/openbsc/src/bsc_mgcp.c
+++ b/openbsc/src/bsc_mgcp.c
@@ -911,6 +911,8 @@ static int config_write_mgcp(struct vty *vty)
vty_out(vty, " sdp audio payload name %s%s", audio_name, VTY_NEWLINE);
vty_out(vty, " loop %u%s", !!audio_loop, VTY_NEWLINE);
vty_out(vty, " endpoints %u%s", number_endpoints, VTY_NEWLINE);
+ if (forward_ip)
+ vty_out(vty, " forward audio %s%s", forward_ip, VTY_NEWLINE);
return CMD_SUCCESS;
}