[mgcp] Add the logging commands for the MGCP command.

This commit is contained in:
Holger Hans Peter Freyther 2010-04-06 12:00:43 +02:00
parent 014136da47
commit 441273766a
2 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,7 @@ ipaccess_config_LDADD = libbsc.a libmsc.a libbsc.a libvty.a -ldl -ldbi $(LIBCRYP
isdnsync_SOURCES = isdnsync.c
bsc_mgcp_SOURCES = mgcp/mgcp_main.c mgcp/mgcp_protocol.c mgcp/mgcp_network.c mgcp/mgcp_vty.c \
debug.c telnet_interface.c
debug.c telnet_interface.c vty_interface_cmds.c
bsc_mgcp_LDADD = libvty.a
ipaccess_proxy_SOURCES = ipaccess/ipaccess-proxy.c debug.c

View File

@ -40,6 +40,7 @@
#include <openbsc/mgcp.h>
#include <openbsc/mgcp_internal.h>
#include <openbsc/telnet_interface.h>
#include <openbsc/vty.h>
#include <vty/command.h>
@ -255,6 +256,7 @@ int bsc_vty_init(struct gsm_network *dummy)
cmd_init(1);
vty_init();
openbsc_vty_add_cmds();
mgcp_vty_init();
return 0;
}