Hi,

following the documentation, the following lines need to be updated on the 
init.d script.

DAEMON=/usr/local/sbin/kamailio
CFGFILE=/usr/local/etc/kamailio/kamailio.cfg

Anyway, there is no CFGFILE already setted.
Is it correct to add CFGFILE along with DAEMON?

On top of this, in the check_fork () procedure, there’s a reference to a 
cfg_file that is nonexistent.
In my installation i changed it to the real path of the kamailio.cfg file 
generated during installation.

check_fork ()
{
    if grep -q "^[[:space:]]*fork[[:space:]]*=[[:space:]]*no.*" 
/usr/local/etc/kamailio/kamailio.cfg; then
        log_failure_msg "Not starting $DESC: fork=no specified in config file; 
run /etc/init.d/kamailio debug instead"
        exit 0
    fi
}

Is it correct to change path in the check_fork procedure with the correct one?

Regards,
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to