[PATCH] osmo-bsc[master]: osmo_bsc_vty.c: fix: write MGW configuration

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sun May 6 15:40:19 UTC 2018


Review at  https://gerrit.osmocom.org/8044

osmo_bsc_vty.c: fix: write MGW configuration

Previously the MGW configuration was ignored during writing
of the MSC configuration. Let's fix this by calling the
mgcp_client_config_write() function.

Change-Id: I7d1eedb782a4f30bd089838969ce54f27cde060d
---
M src/osmo-bsc/osmo_bsc_vty.c
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/44/8044/1

diff --git a/src/osmo-bsc/osmo_bsc_vty.c b/src/osmo-bsc/osmo_bsc_vty.c
index e6ae078..36c3223 100644
--- a/src/osmo-bsc/osmo_bsc_vty.c
+++ b/src/osmo-bsc/osmo_bsc_vty.c
@@ -181,6 +181,9 @@
 		vty_out(vty, " msc-addr %s%s",
 			msc->a.msc_addr_name, VTY_NEWLINE);
 	}
+
+	/* write MGW configuration */
+	mgcp_client_config_write(vty, " ");
 }
 
 static int config_write_msc(struct vty *vty)

-- 
To view, visit https://gerrit.osmocom.org/8044
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d1eedb782a4f30bd089838969ce54f27cde060d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>



More information about the gerrit-log mailing list