Hi,
 
i am doing this command in a timer under kamailio:
 
$var(log)='"'+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+'"';
 exec_msg("nc -u -w0 10.2.0.54 514 <<< $var(log)");
 
each time the command is executed, i get the following error:
 
9(19302) : exec [../../parser/../ip_addr.h:688]: BUG: ip_addr2sbuf: unknown address family 0
 9(19302) ERROR: exec [exec.c:86]: cmd nc -u -w0 10.2.0.54 514 <<< ",denied_calls-0,dos-green" failed. exit_status=-1, errno=32: Broken pipe
 
any idea?
the syslog server gets the message....
 
thanks,
Uri