[asterisk-dev] Asterisk configuration - client/server protocol
Kaloyan Kovachev
kkovachev at varna.net
Thu Jul 19 09:21:37 CDT 2007
On Thu, 19 Jul 2007 15:26:40 +0200, Stig Even Larsen wrote
> Tzafrir Cohen wrote:
> > Look into the #exec configuration directive. It's as dynamic as it can
> > be: an arbitrary shell command to generarate a configuration file
> > snippet. It gets evaluated by Asterisk on each reload.
> Well, that is very good news.
> Is this #exec directive part of mainstream asterisk 1.4? Can't find
> any documentation...
It is even in 1.2 you just need to enable it in asterisk.conf with
'execincludes = yes'. There is even a demo in /contrib/scripts
>
> >
> > >
> > > Consider the following configuration option.
> > >
> > > extconfig.conf
> > > sip.conf => xml, https://some.address/sip.conf.xml
> >
> > Make sure each sip entry (peer/user/friend) has an optional "class"
> > entry. If there is a "class" you'd generate the entry '[entryname](class)'
> > rather than the entry '[entryname]'.
> >
> > This allows controlling classes of entries separately.
> >
> Tzafrir, would you say that the #exec is an equal (or better)
> solution, and my suggestion therefore is not an interresting
> configuration alternative?
>
> Regards,
> Stig Even Larsen
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list