[asterisk-users] FW: Can you reload only one conf file?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Aug 10 13:24:29 CDT 2007


On Thu, Aug 09, 2007 at 07:53:07PM -0600, Stephen Bosch wrote:
> Mike wrote:
> >  
> > In the interest of making things cleaner, I'd like to know if I can just
> > reload one single conf file. Let's say I have two files, extensions.conf
> > which includes small_file.conf.
> >  
> > I only want "small_file.conf" reloaded, not the main file.  Is this at
> > all possible?    
> 
> I'm not quite sure why you would want to selectively reload _parts_ of
> your dial plan, since even a big dialplan takes fractions of a second to
> load...
> 
> Failing that:
> 
> reload pbx_config.so
> 
> just reloads extensions.conf.

Hmm, this gives way to an Ugly Workaround: use ael for the body of the
dialplan (extensions.ael), and only regenerate extensions.conf from the
GUI. This will make a 'reload pbx_config.so' faster.

Naturally, this is insipred by the more common practice of taking part
of the dialplan from an external source in real-time (ARA).

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list