Change in ...osmo-dev[master]: kamailio: fixes and tweaks

neels gerrit-no-reply at lists.osmocom.org
Thu Aug 8 13:44:45 UTC 2019


neels has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-dev/+/15077 )

Change subject: kamailio: fixes and tweaks
......................................................................

kamailio: fixes and tweaks

This is what I did to get external MNCC with kamailio to work.

(As before, only change MSC_MNCC from "internal" to "external ..." in config_*
to enable use of kamailio as external MNCC.)

Change-Id: I18c991bf914dedeb69cb8a2fcde117633e51a899
---
M net/templates/kamailio.cfg
M net/templates/run.sh
2 files changed, 10 insertions(+), 9 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  keith: Looks good to me, but someone else must approve
  laforge: Looks good to me, but someone else must approve



diff --git a/net/templates/kamailio.cfg b/net/templates/kamailio.cfg
index c5b0bf2..b0e2bf3 100644
--- a/net/templates/kamailio.cfg
+++ b/net/templates/kamailio.cfg
@@ -102,8 +102,8 @@
 loadmodule "xlog.so"
 loadmodule "sanity.so"
 # loadmodule "ctl.so"
-loadmodule "cfg_rpc.so"
-loadmodule "mi_rpc.so"
+# loadmodule "cfg_rpc.so"
+# loadmodule "mi_rpc.so"
 loadmodule "acc.so"
 
 #!ifdef WITH_NAT
diff --git a/net/templates/run.sh b/net/templates/run.sh
index 1697429..a42ec52 100755
--- a/net/templates/run.sh
+++ b/net/templates/run.sh
@@ -133,15 +133,9 @@
 read enter_to_close
 echo Closing...
 
-if [ "x${MSC_MNCC}" != "xinternal" ]; then
-  kill %13 %14
-  killall osmo-sip-connector
-  killall kamailio
-fi
-
 #ssh bts neels/stop_remote.sh
 
-kill %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12
+kill %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14
 killall osmo-msc
 killall osmo-bsc
 killall osmo-gbproxy
@@ -153,6 +147,13 @@
 sudo killall tcpdump
 killall osmo-ggsn
 
+if [ "x${MSC_MNCC}" != "xinternal" ]; then
+  # 'killall' seems to work only with the shortened name
+  killall osmo-sip-connec
+  killall kamailio
+fi
+
+
 set +e
 cp *.cfg "$logdir"/
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/15077
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I18c991bf914dedeb69cb8a2fcde117633e51a899
Gerrit-Change-Number: 15077
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: keith <keith at rhizomatica.org>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190808/5b0cca2c/attachment.html>


More information about the gerrit-log mailing list