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, Daniel-Constantin Mierla wrote: > 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 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 >> * [email protected] >> Important: keep the mailing list in the recipients, do not reply only to the >> sender! >> Edit mailing list options or unsubscribe: >> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- > Daniel-Constantin Mierla -- www.asipto.com > www.twitter.com/miconda -- www.linkedin.com/in/miconda > -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
