hello all

we have seen today something quite weird

having this line in the kamailio.cfg
(1) else if (status =~ "4" || status =~ "5" || status =~ "6") {

causes the process not to start hacing this error

May  3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: ERROR: <core> [io_wait.h:459]: io_watch_add(): epoll_ctl failed: Invalid argument [22]
May  3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL: <core> [tcp_main.c:4432]: tcp_main_loop(): failed to add process 37 unix socket to the fd list
May  3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL: <core> [tcp_main.c:4523]: tcp_main_loop(): exiting...

but placing
(2) } else if (status =~ "^[456]") {

instead, makes it work
this happens with kamailio 4.4.1 and the platform is running on centos6.5

on the other hand we have the same line (1) on an ubuntu 10.0.4 makes the kamailio also start properly

could you know why this is happening?

best regards
david