[SR-Users] dns_srv_lb on or yes
Daniel-Constantin Mierla
miconda at gmail.com
Wed Sep 1 13:04:49 CEST 2021
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
>> * sr-users at lists.kamailio.org
>> 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
More information about the sr-users
mailing list