[SR-Users] Lazy evaluation in if expressions?

Morten Isaksen misak at misak.dk
Fri Sep 16 13:20:52 CEST 2011


Does Kamailio use lazy evaluation in if expressions?

Like

if ($var(a) == 2 && $var(b) ==3) { ... }

then $var(b) == 3 is only evaluated if $var(a) == 2 is true

-- 
Morten Isaksen



More information about the sr-users mailing list