miconda left a comment (kamailio/kamailio#4450)
It is replacing the original string value that is in the expression: it was
never about a variable value what I mean, but that a string value was set
previously for that expression.
The `{s.int}` is supposed to be used for arithmetic operations. For protocol
variable $rP the equivalent of protocol ID 3 to string translates to `tls`, it
is what I want to have printed in such case. The $pR type is string, the
integer value for it is adjacent/complementary to get the corresponding
protocol id.
Many things may not make "clear" sense if one wants to analyze the behaviour of
the config interpreter, including the evaluation of negative to false and
positive to true, exit for 0. Similar is with the config variables, that's why
they are called also "pseudo-variables", they have specific behaviour per
implementation, what the developer needed for them.
You also didn't list any of the "overwhelming amount of PVs ...".
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4450#issuecomment-3481622633
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4450/[email protected]>_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!