Module: sip-router
Branch: master
Commit: 7ca54b8867ca325fd318536e29f8ae8e028611c9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7ca54b8…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Jul 6 18:26:16 2011 +0200
utils: fix kamctl start if installed in a custom prefix, tested from Fabian Borot
---
utils/kamctl/kamctl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index 4d99f15..8c37a9d 100755
--- a/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl
@@ -1610,9 +1610,9 @@ openser_start() {
exit 1
fi
if [ $SYSLOG = 1 ] ; then
- $OSERBIN -P $PID_FILE $STARTOPTIONS 1>/dev/null 2>/dev/null
+ $OSERBIN -P $PID_FILE -f $ETCDIR/kamailio.cfg $STARTOPTIONS 1>/dev/null
2>/dev/null
else
- $OSERBIN -P $PID_FILE -E $STARTOPTIONS
+ $OSERBIN -P $PID_FILE -E -f $ETCDIR/kamailio.cfg $STARTOPTIONS
fi
sleep 3
if [ ! -s $PID_FILE ] ; then