Daniel-Constantin Mierla writes:
> for the records, I just looked in cfg.lex and the following tokens are
> defined to have the same meaning:
>
> YES "yes"|"true"|"on"|"enable"
>
> NO "no"|"false"|"off"|"disable"
>
> By matching the token YES the parser returns 1 and NO
Hello,
for the records, I just looked in cfg.lex and the following tokens are
defined to have the same meaning:
YES "yes"|"true"|"on"|"enable"
NO "no"|"false"|"off"|"disable"
By matching the token YES the parser returns 1 and NO returns 0.
Cheers,
Daniel
On 30.08.21 13:30,
Hello,
it does not matter, they are scripting language tokens mapped to 1 or 0:
1 == yes == on
0 == no == off
Not sure the interpreter has true/false, if yes, I expect to be the same.
Cheers,
Daniel
On 28.08.21 09:38, Juha Heinanen wrote:
> Wiki tells:
>
> dns_srv_lb = yes | no (default
Wiki tells:
dns_srv_lb = yes | no (default no)
and doc/tutorials/dns.txt tells:
dns_srv_lb = on | off
Which one is correct or does it matter?
-- Juha
__
Kamailio - Users Mailing List - Non Commercial Discussions
*