[asterisk-users] Re: [asterisk-dev] Dynamically Adding A Context

Shane Spencer shane at bogomip.com
Wed Jan 31 17:25:49 MST 2007


Hahaha,, I think thats a freaking SWEET suggestion :)

On 1/31/07, Andrew Furey <andrew.furey at gmail.com> wrote:
> On 01/02/07, Yuan LIU <yliu11 at hotmail.com> wrote:
> > What Lee suggested is to have the AGI script to actually parse, insert a new
> > context in extensions.conf, or deleting from it, then reload
> > extensions.conf.  This would at least achieve what you wanted to do.
>
> Or alternatively, to avoid complete disaster, why not have
> extensions.conf include another file (#include <somefile.conf>) and
> edit that one with your script? I've done that before (although I was
> actually recreating the entire file each time by populating from an
> external database).
>
> Andrew
>
> --
> Linux supports the notion of a command line or a shell for the same
> reason that only children read books with only pictures in them.
> Language, be it English or something else, is the only tool flexible
> enough to accomplish a sufficiently broad range of tasks.
>                           -- Bill Garrett
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


More information about the asterisk-users mailing list