<div dir="ltr"><div>Hi,</div>
<div> </div>
<div>i am doing this command in a timer under kamailio:</div>
<div> </div>
<div>$var(log)='"'+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+'"';<br> exec_msg("nc -u -w0 10.2.0.54 514 <<< $var(log)");</div>
<div> </div>
<div>each time the command is executed, i get the following error:</div>
<div> </div>
<div>9(19302) : exec [../../parser/../ip_addr.h:688]: BUG: ip_addr2sbuf: unknown address family 0<br> 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<br>
</div>
<div> </div>
<div>any idea?<br></div>
<div>the syslog server gets the message....</div>
<div> </div>
<div>thanks,</div>
<div>Uri</div></div>