summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-08-30 09:09:02 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2018-10-05 13:49:31 +0200
commitbaa5d7bdadea364f08a9ef2180b27451c4410b6b (patch)
tree7e3c2f0c0b3cc9209ed4e7243c4ac1b568eaaf7d
parentd4eb8babd00c13ee51a1b29972e1c51e2f1965a0 (diff)
Fix mncc socket name
For OpenBSC it made sense to have a /tmp/bsc_mncc file to share for external MNCC, but now that we have an MSC osmo-sip-connector communicates with that, so rename the socket file to avoid confusion. Change-Id: I5e0dbf1aafe1b9c3776c49a08a76d64dd4fe9cc5
-rw-r--r--doc/examples/osmo-sip-connector.cfg2
-rw-r--r--src/vty.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/osmo-sip-connector.cfg b/doc/examples/osmo-sip-connector.cfg
index ad42969..550cba6 100644
--- a/doc/examples/osmo-sip-connector.cfg
+++ b/doc/examples/osmo-sip-connector.cfg
@@ -1,6 +1,6 @@
app
mncc
- socket-path /tmp/bsc_mncc
+ socket-path /tmp/msc_mncc
sip
local 0.0.0.0 5060
remote pbx 5060
diff --git a/src/vty.c b/src/vty.c
index 540e2de..3c9ade1 100644
--- a/src/vty.c
+++ b/src/vty.c
@@ -306,7 +306,7 @@ DEFUN(show_mncc_conn, show_mncc_conn_cmd,
void mncc_sip_vty_init(void)
{
/* default values */
- g_app.mncc.path = talloc_strdup(tall_mncc_ctx, "/tmp/bsc_mncc");
+ g_app.mncc.path = talloc_strdup(tall_mncc_ctx, "/tmp/msc_mncc");
g_app.sip.local_addr = talloc_strdup(tall_mncc_ctx, "127.0.0.1");
g_app.sip.local_port = 5060;
g_app.sip.remote_addr = talloc_strdup(tall_mncc_ctx, "pbx");