Hi,

I am running a simple command on timer in a kamailio proxy.
Here is the related parts of the config scripts:

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

Each time I run the "netstat" using the exec() inside the timer route
block, I get the following error from Kamailio in my log:

kamailio[28546]: : exec [../../parser/../ip_addr.h:669]: ip_addr2sbuf():
> BUG: ip_addr2sbuf: unknown address family 0
>

What is the meaning of this error, and what does kamailio mean by reporting
it as a "BUG"?

Is there any obvious reason, I am getting this? Is it related to calling
netstat to survey the RecvQ?


Thanks,
Alireza
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to