Re: Error: different number of preprocessor directives
Richard Robson via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <[email protected]> |
If you havea need for multiple scripts, i.e different boxes, then write multiple scripts. If you only have a single type of box then us if statements to call the various components needed depending on the traffic type. I'm not sure why you would need to define multiple directives either. it appears you have nested some too, whynot just rewrite the scriptto have various routes instead of all these directives and control the flow based on the message type. I'm assuming most of these directives will be set to TRUE. Regards, Richard On 23/07/2025 20:41, Giovanni Maruzzelli via sr-users wrote: > On Wed, Jul 23, 2025, 21:14 Alex Balashov via sr-users > <[email protected]> wrote: > > > My configs got far simpler and more legible once I conquered my > fear of committing to hard code paths and stopped adding > unnecessary cleverness. > > > +1 > > -giovanni > > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions [email protected] > To unsubscribe send an email [email protected] > Important: keep the mailing list in the recipients, do not reply only to the sender! __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [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!