[bsc_mgcp] Fix writing of the config file...

* Add the new forward audio option
This commit is contained in:
Holger Hans Peter Freyther
2010-01-05 12:29:36 +01:00
parent 111a58dd37
commit 91fc9bf862

View File

@@ -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;
}