Hello, if you have:
#!define X then you can have conditional blocks like: #!ifdef X #endif or: #!ifndef X #endif Or, are you looking for something else? Cheers, Daniel On 12.07.21 14:17, Riccardo Villa wrote: > Hello guys, > > do you know if it’s possible for a kemi script to know if a name is defined > (with #!define) in kamailio.cfg? It would be useful to modify kemi script > logic depending on feature/module presence. > > Thanks in advance for your help. > > Regards, > > Riccardo > > > -- > -- > NOTICE: This electronic mail transmission may contain confidential > information and is intended only for the person(s) named. Any use, copying, > or disclosure by any other person is strictly prohibited. If you have > received this transmission in error, please notify the sender via e-mail. > > __________________________________________________________ > 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 __________________________________________________________ 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
