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.
regards
O
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
BEFORE VAR A#################################################################===__IN FAILURE_ROUTE :::======> RURI=+1404345
VAR A #################################################################===__IN FAILURE_ROUTE :::======> rU = +1404345 VAR A = 8 VAR B = 0 AFTER VAR B #################################################################===__IN FAILURE_ROUTE :::======> rU = +1404345 VAR A = 8 VAR B = 8 :: ::
i changed the tU to rU, i have the same result, just to make a test.
is really interesting.
O
On Jun 15, 2011, at 8:24 AM, Daniel-Constantin Mierla wrote:
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
I tried it in normale route and failure route, it works (at least in Kamailio 3.1)
regards klaus
On 15.06.2011 15:14, Omar wrote:
BEFORE VAR A#################################################################===__IN FAILURE_ROUTE :::======> RURI=+1404345
VAR A #################################################################===__IN FAILURE_ROUTE :::======> rU = +1404345 VAR A = 8 VAR B = 0 AFTER VAR B #################################################################===__IN FAILURE_ROUTE :::======> rU = +1404345 VAR A = 8 VAR B = 8 :: ::
i changed the tU to rU, i have the same result, just to make a test.
is really interesting.
O
On Jun 15, 2011, at 8:24 AM, Daniel-Constantin Mierla wrote:
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
sight ! :-( thank you Klaus, We just start testing the 3.1.4 but until the Labs releases will take some time
O
On Jun 15, 2011, at 12:19 PM, Klaus Darilion wrote:
I tried it in normale route and failure route, it works (at least in Kamailio 3.1)
regards klaus
On 15.06.2011 15:14, Omar wrote:
BEFORE VAR A#################################################################===__IN FAILURE_ROUTE :::======> RURI=+1404345
VAR A #################################################################===__IN FAILURE_ROUTE :::======> rU = +1404345 VAR A = 8 VAR B = 0 AFTER VAR B #################################################################===__IN FAILURE_ROUTE :::======> rU = +1404345 VAR A = 8 VAR B = 8 :: ::
i changed the tU to rU, i have the same result, just to make a test.
is really interesting.
O
On Jun 15, 2011, at 8:24 AM, Daniel-Constantin Mierla wrote:
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
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