Yes, $var(true) works.
I was asking for a new PV: '$true' to be implemented in the core and
be visible for all flavors.
I would like to be able to do 'while ( $true ) {}' instead of 'while (
$var(true) ) {}'.
And I would like to do this regardless of flavor.
And speaking of flavors, we should have a page on the wiki describing
all the subtle differences between flavors (maybe there is one, but I
couldn't find it).
Thanks,
Ovidiu
On Wed, Apr 7, 2010 at 2:07 PM, Juha Heinanen <jh(a)tutpro.com> wrote:
Ovidiu Sas writes:
Ohh ... it is $var(true) and not $true ....
I think having a $true pvar would be nice.
But I would like to have the $true pvar for all flavors, not only for
KAMAILIO flavor.
ovidiu,
i have not defined
#!KAMAILIO
and $var(true) works. i don't know what the default flavor is.
-- juha