[asterisk-users] Segmenting A Configration File
Raj Mathur ( राज माथुर )
raju at linux-delhi.org
Sat Aug 11 22:41:28 CDT 2012
On Saturday 11 Aug 2012, Kannan wrote:
> I am planning a multi-tenant VoIP services system with Asterisk,
> using configuration tweaks. Having all the tenant configurations in
> one configuration file is overwhelming. I would like to segment the
> configuration files and include them in the main configuration file.
> Is it possible?
>
> For e.g. I would like to have the main extenstions.conf file to
> include tenant01_extenstions.conf, tenant02_extensions.conf. By this
> way it is easy to manage the configurations of each tenant.
We have developed a completely parametrised solution for one client,
where she can configure contexts without ever having to touch the main
Asterisk files. For each context, the dialplan checks configuration
values for recording, permitting calls to various types of extensions,
adding to queues, barge-in, etc and enables or disables those services
depending on the parameters provided. You can even create custom
extensions and invoke AGIs at runtime if you need more fine-tuning.
All these customisations -- the client's configuration, the dialplan
functions, users, etc. are in separate files, #included by the main
Asterisk configurations.
Regards,
-- Raj
--
Raj Mathur || raju at kandalaya.org || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves || http://schizoid.in || D17F
More information about the asterisk-users
mailing list