From 91fc9bf8620034dc6c8f6e37894d801ff99b6b79 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 5 Jan 2010 12:29:36 +0100 Subject: [bsc_mgcp] Fix writing of the config file... * Add the new forward audio option --- openbsc/src/bsc_mgcp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/bsc_mgcp.c') 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; } -- cgit v1.2.3