On Wednesday 06 July 2011, Fabian Borot wrote: > I tested it [stop, start, restart] and it worked > > First I commented the line below in the kamctlrc scrip to make sure that it > was working because of the change you suggested on the kamctl script and > not because my workaround > > STARTOPTIONS=" -f /usr/local/kamailio-3.1/etc/kamailio/kamailio.cfg" > > Then I found these lines and made it like this: > > > 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 > > > I stoppped, started and restarted kamailio several times and it works now.
Hi Fabian, ok great. I'll push the fix to the master branch and 3.1 repository then. Best regards, Henning _______________________________________________ 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