[sr-dev] t_set_fr() error
Juha Heinanen
jh at tutpro.com
Wed Mar 31 08:11:22 CEST 2010
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("@cfg_get.local.invite_timeout", "@cfg_get.local.gw_timeout);
so looks like $sel is not equivalent to @.
-- juha
More information about the sr-dev
mailing list