aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-22 20:21:10 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-12 16:06:44 +0100
commitea51bfd87535bd8f8a00db6d9777fff126ec2deb (patch)
tree77eaaea6c2dd2c3e904253c88ff14b23af6d6bb5 /openbsc/src/libmsc
parenta9370b6b65e3610d78cbf2b805220df923bc2cd5 (diff)
cscn: add mgcpgw client (with dummy read cb so far)
Store the mgcpgw client data in struct gsm_network. Initialize VTY and bind the client. Change-Id: Ifc4efb1ca44fa34c29bf23b35addb54155296d68
Diffstat (limited to 'openbsc/src/libmsc')
-rw-r--r--openbsc/src/libmsc/cscn_vty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/cscn_vty.c b/openbsc/src/libmsc/cscn_vty.c
index adba37daa..f93c5602b 100644
--- a/openbsc/src/libmsc/cscn_vty.c
+++ b/openbsc/src/libmsc/cscn_vty.c
@@ -121,6 +121,9 @@ static int config_write_cscn(struct vty *vty)
VTY_NEWLINE);
vty_out(vty, " %sassign-tmsi%s",
gsmnet->avoid_tmsi ? "no " : "", VTY_NEWLINE);
+
+ mgcpgw_client_config_write(vty, " ");
+
return CMD_SUCCESS;
}
@@ -171,4 +174,5 @@ void cscn_vty_init(struct gsm_network *cscn_network)
install_element(CSCN_NODE, &cfg_cscn_no_subscr_create_cmd);
install_element(CSCN_NODE, &cfg_cscn_assign_tmsi_cmd);
install_element(CSCN_NODE, &cfg_cscn_no_assign_tmsi_cmd);
+ mgcpgw_client_vty_init(CSCN_NODE, &cscn_network->mgcpgw.conf);
}