Module: sip-router
Branch: 3.1
Commit: ec63ebad94faaf2800aa9738b9da9c25687dfe3a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ec63eba…
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
(cherry picked from commit 7ca54b8867ca325fd318536e29f8ae8e028611c9)
---
utils/kamctl/kamctl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index a68093f..d465d67 100755
--- a/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl
@@ -1604,9 +1604,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