|
@@ -39,7 +39,7 @@ check_kamailio_config ()
|
|
{
|
|
{
|
|
# Check if kamailio configuration is valid before starting the server.
|
|
# Check if kamailio configuration is valid before starting the server.
|
|
set +e
|
|
set +e
|
|
- out=$($DAEMON -M $PKG_MEMORY -c 2>&1 > /dev/null)
|
|
|
|
|
|
+ out=$($DAEMON -f $CFGFILE -M $PKG_MEMORY -c 2>&1 > /dev/null)
|
|
retcode=$?
|
|
retcode=$?
|
|
set -e
|
|
set -e
|
|
if [ "$retcode" != '0' ]; then
|
|
if [ "$retcode" != '0' ]; then
|