<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.8.4">
</HEAD>
<BODY>
hello all<BR>
<BR>
we have seen today something quite weird<BR>
<BR>
having this line in the kamailio.cfg<BR>
(1) else if (status =~ "4" || status =~ "5" || status =~ "6") {<BR>
<BR>
causes the process not to start hacing this error<BR>
<BR>
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] <BR>
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 <BR>
May  3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL: <core> [tcp_main.c:4523]: tcp_main_loop(): exiting...<BR>
<BR>
but placing <BR>
(2) } else if (status =~ "^[456]") {<BR>
<BR>
instead, makes it work<BR>
this happens with kamailio 4.4.1 and the platform is running on centos6.5<BR>
<BR>
on the other hand we have the same line (1) on an ubuntu 10.0.4 makes the kamailio also start properly<BR>
<BR>
could you know why this is happening?<BR>
<BR>
best regards<BR>
david<BR>
<BR>
</BODY>
</HTML>