Re: [asterisk-users] Segmenting A Configration File
One of my clients uses thirdlane. The web interface is clean and nice, but asterisk completely locks when one of the client change the config and reloads during peak hours. It is possible my client uses an old version or hasn't applied all the patches or hasn't configured asterisk in the right way or the underlying hardware is not enough powerful, but I'd not suggest it to manage over than few hundred peers. I have seen several software solutions, all configuration file based and they all have the same problem. They locks asterisk on reload, so you'll end not altering the configuration during peak hours and you'll avoid giving the clients the ability to change their config. The only key solution is to have a completely realtime version. Leandro 2012/8/12 Carlos Rojas > Hi > > Have you seen thirdlane? > Thirdlane has a multitenant version. > > Regards > On Aug 11, 2012 11:11 AM, "Carlos Alvarez" wrote: > >> On Sat, Aug 11, 2012 at 3:16 AM, 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 put each tenant's sip and extensions config files in >> /etc/asterisk/accounts and then do an include for that directory in the >> main files. >> >> We keep all the voicemail.conf in one because changes to passwords will >> NOT be saved to included files. We used to use includes for voicemail but >> that meant no password changes. >> >> The main file has a list of all phone numbers in the system in numerical >> order where we set the account name, and then we send them to the proper >> context like this: >> >> exten => 12015551212,1,Set(CDR(accountcode)=johnsmith) >> >> >> exten => _X.,n(cont),Goto(${CDR(accountcode)}#did,${EXTEN},1) >> >> There's a bunch of other stuff in there where we do line counting and >> such. >> >> -- >> Carlos Alvarez >> TelEvolve >> 602-889-3003 >> >> >> >> -- >> _ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >>http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >>http://lists.digium.com/mailman/listinfo/asterisk-users >> > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Segmenting A Configration File
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 || r...@kandalaya.org || GPG: http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 It is the mind that moves || http://schizoid.in || D17F -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Segmenting A Configration File
Hi Have you seen thirdlane? Thirdlane has a multitenant version. Regards On Aug 11, 2012 11:11 AM, "Carlos Alvarez" wrote: > On Sat, Aug 11, 2012 at 3:16 AM, 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 put each tenant's sip and extensions config files in > /etc/asterisk/accounts and then do an include for that directory in the > main files. > > We keep all the voicemail.conf in one because changes to passwords will > NOT be saved to included files. We used to use includes for voicemail but > that meant no password changes. > > The main file has a list of all phone numbers in the system in numerical > order where we set the account name, and then we send them to the proper > context like this: > > exten => 12015551212,1,Set(CDR(accountcode)=johnsmith) > > > exten => _X.,n(cont),Goto(${CDR(accountcode)}#did,${EXTEN},1) > > There's a bunch of other stuff in there where we do line counting and such. > > -- > Carlos Alvarez > TelEvolve > 602-889-3003 > > > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Segmenting A Configration File
On 12-08-11 11:10 AM, Carlos Alvarez wrote: On Sat, Aug 11, 2012 at 3:16 AM, 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 put each tenant's sip and extensions config files in /etc/asterisk/accounts and then do an include for that directory in the main files. We keep all the voicemail.conf in one because changes to passwords will NOT be saved to included files. We used to use includes for voicemail but that meant no password changes. This is no longer the case. Starting with 1.8 a new voicemail.conf setting (passwordlocation) has been added[1] to allow you to store the passwords outside the voicemail.conf file. With this setting the password gets written to secret.conf file within spooldir for each mailbox. That way, you can then breakout each mailbox into separate config files with include statements. [1] http://svnview.digium.com/svn/asterisk?revision=225406&view=revision -- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Segmenting A Configration File
On Sat, Aug 11, 2012 at 3:16 AM, 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 put each tenant's sip and extensions config files in /etc/asterisk/accounts and then do an include for that directory in the main files. We keep all the voicemail.conf in one because changes to passwords will NOT be saved to included files. We used to use includes for voicemail but that meant no password changes. The main file has a list of all phone numbers in the system in numerical order where we set the account name, and then we send them to the proper context like this: exten => 12015551212,1,Set(CDR(accountcode)=johnsmith) exten => _X.,n(cont),Goto(${CDR(accountcode)}#did,${EXTEN},1) There's a bunch of other stuff in there where we do line counting and such. -- Carlos Alvarez TelEvolve 602-889-3003 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Segmenting A Configration File
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.belan...@polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Segmenting A Configration File
Sure, you can include multiple files from the general extension.conf. You can do the same for the sip.conf. Leandro I am typing from my mobile phone... Il giorno 11/ago/2012 12:17, "Kannan" ha scritto: > 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. > > Thanks. > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Segmenting A Configration File
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. Thanks. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users