[asterisk-dev] Asterisk configuration - client/server protocol
Stig Even Larsen
stig at nimra.no
Thu Jul 19 08:26:40 CDT 2007
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...
>
> >
> > 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
More information about the asterisk-dev
mailing list