[SR-Users] Multiple definitions with OR or AND in "ifdef" in kamailio script

Daniel-Constantin Mierla miconda at gmail.com
Tue Jun 4 09:35:34 CEST 2019


Hello,

at this moment this kind of expressions are not implemented, you have to
chain #!ifdef/#!ifndef conditions to get the equivalent behaviour.

Anyhow, it could be an idea to add in the future.

Cheers,
Daniel

On 30.05.19 11:19, Maxim M wrote:
> Is it possible to do something like this in kamailio script?:
>
> !!ifdef DEF1 || DEF2
> ....
> !!endif
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190604/0c05aafc/attachment.html>


More information about the sr-users mailing list