[asterisk-users] Segmenting A Configration File

Paul Belanger paul.belanger at polybeacon.com
Sat Aug 11 08:50:10 CDT 2012


On 12-08-11 06:16 AM, Kannan wrote:
> Hi List,
>
> 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.
>

I've been playing a lot with the following configuration layout[1], so 
far I am pretty happy how well it is working.

We define the default values we want for the default configuration 
files, then add the site specific settings under the specific directory.

Like I said, works very well for us.

[1] 
https://github.com/kickstandproject/asterisk/tree/master/debian/ast_config

-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger



More information about the asterisk-users mailing list