On Mar 31, 2010 at 09:11, Juha Heinanen <jh(a)tutpro.com> wrote:
Juha Heinanen writes:
t_set_fr("$sel(cfg_get.local.invite_timeout)",
"$sel(cfg_get.local.gw_timeout)");
unfortunately, the above t_set_fr results in syslog error:
Mar 30 21:05:10 localhost /usr/sbin/sip-proxy[31365]: ERROR: <core>
[sr_module.c:1546]: Could not convert PV to int
why is that?
i don't know why, but the error went away when i changed syntax of the
function call to this:
t_set_fr("(a)cfg_get.local.invite_timeout"eout", "(a)cfg_get.local.gw_timeout)eout);
so looks like $sel is not equivalent to @.
Could you try something like:
$x=$sel(...));
$y=@...;
$z=(int)$sel(...);
and print the values with xlog?
If $x!=$y, please put it on the bug tracker (and assign Daniel to it
:-)).
Andrei