[asterisk-dev] wanna be asterisk-dev

Valter Nogueira vgnogueira at gmail.com
Mon Jun 1 10:25:02 CDT 2009


which source file do the job - I mean preprocesses conf files?

By the way, is there any way to create/delete context on-fly?

Valter

2009/6/1 Tzafrir Cohen <tzafrir.cohen at xorcom.com>

> On Mon, Jun 01, 2009 at 11:22:37AM -0300, Valter Nogueira wrote:
> > Kevin,
> >
> > I know it is a little off-topic - I will try #exec - thanks.
> >
> > Does it works for others conf files such meete, iax and so on?
>
> Yes, works for just about any Asterisk config file. Basically: anywhere
> '#include' will work (assuming you enabled using #exec in
> asterisk.conf). As the '#' hist, #include and #exec are preprocessing
> directives that are essentially procssed before the configuration is
> read just like the C pre-processor.
>
> But no, there's aren't any #if* or #define directives.
>
> OTOH, we have something called templaets. And like the thing in C++, it
> works in a more sematic level and supports (some sort of) inheritance.
> Unlike the thing from C++ and #exec, it's not turing-complete.
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> _______________________________________________
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090601/8200941e/attachment-0001.htm 


More information about the asterisk-dev mailing list