Hi all,

I'm using a central file to define my kamailio cfg configuration.

First question:

In my main kamailio.cfg, I use:

       include_file "kamailio-config.cfg"
which contains:
        #!substdef "!MY_DOMAIN!kamailio.example.com!g"

I would like to use the same in tls.cfg which is defined this way:

modparam("tls", "config", "/etc/kamailio/tls.cfg")

but I get:

          sr_cfg_parse(): tls.cfg:17:1: Unsupported option 'include_file'

Would you advise some way to achieve my goal: ie, I would like only
one file to edit my configuration options which would have an effect on
both kamailio.cfg and tls.cfg

Second question:

Can someone confirm that #!substdef will also not have any effect
when used in tls.cfg

Thanks
Aymeric

--