Hello,

On 6/13/11 7:05 AM, Omar wrote:
In Kamailio 1.4.3

I have the following scenario:

$var(a) = 0
$var(b) = 0
$var(a) = $(tU{s.len});
$var(b) =  $var(a) - 5;

xlog(" $var(b)");

the result $var(b)  is always the same as $var(a)

should i check if some specific module is loaded?
the debugs does not show any error, and $var(a) and $var(b) are unique.

Variables are working, but not the operations with the variables.
there is no module needed to be loaded for that version.

Can you add xlog() lines to print the values of variables for each step, including the $tU s.len transformation.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
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