<div dir="ltr"><div><div>Hi,<br><br></div>I am running a simple command on timer in a kamailio proxy. <br>Here is the related parts of the config scripts:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">

loadmodule "timer"<br>modparam("timer", "declare_timer", "tmr1=LOG_STATS,1,fast,enable");<br><br>route{<br>...<br>}<br><br>route[LOG_STATS] {<br>        exec_avp("netstat -ul | grep ':sip' | awk '{print $$2}'","$avp(s:test)");<br>

        xlog("L_ALERT","logged RecvQ as $avp(s:test)");<br>        return;<br>}<br></blockquote><div><br></div><div>Each time I run the "netstat" using the exec() inside the timer route block, I get the following error from Kamailio in my log:<br>

<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">kamailio[28546]: : exec [../../parser/../ip_addr.h:669]: ip_addr2sbuf(): BUG: ip_addr2sbuf: unknown address family 0<br>

</blockquote><div><br></div><div>What is the meaning of this error, and what does kamailio mean by reporting it as a "BUG"?<br><br></div><div>Is there any obvious reason, I am getting this? Is it related to calling netstat to survey the RecvQ? <br>

</div></div><br><br></div>Thanks,<br>Alireza<br></div>