AliReza Khoshgoftar Monfared
2014-07-14 15:47:15 UTC
Hi,
I am running a simple command on timer in a kamailio proxy.
Here is the related parts of the config scripts:
loadmodule "timer"
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
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 routeroute{
...
}
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;
}
BUG: ip_addr2sbuf: unknown address family 0
What is the meaning of this error, and what does kamailio mean by reportingit as a "BUG"?
Is there any obvious reason, I am getting this? Is it related to calling
netstat to survey the RecvQ?
Thanks,
Alireza