diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-27 19:32:53 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-27 19:33:06 +0200 |
commit | ed3046339e141938cd0eb3a45e7ab91e518675ac (patch) | |
tree | 83c8e0e0f7ac7b3f883b44e71cd2ad2d8f1cc731 /src/mgcp | |
parent | d25dfce4f55b909526e76f878bd5445a5db319fe (diff) |
mgcp: Print the extra settings from the config
Diffstat (limited to 'src/mgcp')
-rw-r--r-- | src/mgcp/mgcp_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mgcp/mgcp_vty.c b/src/mgcp/mgcp_vty.c index afd3bd1..243dc16 100644 --- a/src/mgcp/mgcp_vty.c +++ b/src/mgcp/mgcp_vty.c @@ -49,6 +49,7 @@ static struct cmd_node mgcp_node = { 1, }; +extern void mgcp_write_extra(struct vty *vty); static int config_write_mgcp(struct vty *vty) { vty_out(vty, "mgcp%s", VTY_NEWLINE); @@ -66,6 +67,7 @@ static int config_write_mgcp(struct vty *vty) vty_out(vty, " sdp audio payload name %s%s", g_cfg->audio_name, VTY_NEWLINE); vty_out(vty, " loop %u%s", !!g_cfg->audio_loop, VTY_NEWLINE); vty_out(vty, " number endpoints %u%s", g_cfg->number_endpoints - 1, VTY_NEWLINE); + mgcp_write_extra(vty); return CMD_SUCCESS; } |