Thanks Henning for clarification, I got confused, maybe because I was
writing cfg in Python.
On Sat, Apr 27, 2024 at 12:02 PM Henning Westerholt wrote:
> Hello,
>
>
>
> your main assumption regarding the evaluation of return values is wrong.
> Refer e.g. to this documentation for details on how
Hello,
your main assumption regarding the evaluation of return values is wrong. Refer
e.g. to this documentation for details on how is evaluated.
https://www.kamailio.org/wikidocs/cookbooks/5.8.x/core/#return
Cheers,
Henning
From: Pavan Kumar via sr-users
Sent: Freitag, 26. April 2024 23:18
Thanks Fred. If I understand correctly, when a document says "function
returns FALSE", it means it will return one of the negative numbers. I
assume the expresion "if(negative_number)" will be evaluated to be true in
kamailio cnf.
In that case, the code
if (loose_route()) {
> ...
> } else {
On Apr 26, 2024, at 9:30 PM, Pavan Kumar wrote:
>
> Thanks Fred. If I understand correctly, when a document says "function
> returns FALSE", it means it will return one of the negative numbers. I assume
> the expresion "if(negative_number)" will be evaluated to be true in kamailio
> cnf.
>
>
> On Apr 26, 2024, at 5:17 PM, Pavan Kumar via sr-users
> wrote:
>
> Hello everyone,
>
> While going through the WebRTC example configuration (cfg) to better
> understand and implement it in my setup, I came across a potential issue in
> the code block. The code in question can be found at