Hello,
I get this warning message when a request is relayed over tcp:
WARNING: <core> [timer_funcs.h:119]: WARNING: timer: add_timeout: 0 expire timer added
The warning is displayed after send_route() has run.
(relevant) settings: modparam("tm", "fr_timer", 500) modparam("tm", "fr_inv_timer", 80000) modparam("tm", "wt_timer", 20000)
Every other timer related setting is at its default. Just before t_relay() is called, fr timer is set with:
t_set_fr($avp(ringtime) * 1000);
where $avp(ringtime) = 80.
An identical setup with udp does not show the warning.
Where does this warning come from and how do i suppress it?
On Tuesday 23 August 2011 14:57:51 Juha Heinanen wrote:
Alex Hermann writes:
I get this warning message when a request is relayed over tcp:
WARNING: <core> [timer_funcs.h:119]: WARNING: timer: add_timeout: 0 expire timer added
which version of sr is that? have you tried with latest master version?
It is the latest master version, Kamailio flavour.
Btw, I have not seen this on a 3.0.1, SR flavour installation (simpler config).
If the cause is not obvious to anyone, i'll try to reproduce with a trivial script. The issue is showing itself in a huge config with many, possibly interfering, modules loaded.
Alex Hermann writes:
which version of sr is that? have you tried with latest master version?
It is the latest master version, Kamailio flavour.
andrei fixed this warning a couple of days ago and it disappeared from my setups. if you have build your sip router from today's master version and still get the warning, then looks like there is another incarnation of the bug still to be fixed.
-- juha
On Tuesday 23 August 2011 15:29:27 Juha Heinanen wrote:
andrei fixed this warning a couple of days ago and it disappeared from my setups. if you have build your sip router from today's master version and still get the warning, then looks like there is another incarnation of the bug still to be fixed.
Indeed, I missed that commit in the stream of commits and was still on an ancient version of saterday evening...
Current master is ok.
Thanks,