[asterisk-users] Realtime & context

Brian Hutchinson b.hutchman at gmail.com
Tue Oct 30 01:06:50 CDT 2007


Maybe I'm not following the problem here ... couldn't he just rework his
extensions in a way that uses macros so he doesn't have to change 50 things?

On 10/30/07, JR Richardson <jmr.richardson at gmail.com> wrote:
>
> > Hi all, I use asterisk with realtime features for extension, sip and
> iax.
> >
> > In extensions.conf I have put these lines:
> >
> > [from-internal]
> > include => parkedcalls
> > switch => Realtime/@
> >
> > [fromiax]
> > switch => Realtime/@
> >
> > There is a way for put in my database the context also? Now if I want to
> > add a new context I have to modify the extensions.conf with:
> >
> > [newcontext]
> >
> > switch => Realtime/@
> >
> > but I have about 50 asterisk that read one database, now if I want to
> > change/add a context I have to change 50 extensions.conf file  :(
>
> The easy answer to your question is, no, you can not put a context in
> the database without a corresponding context in the static
> extensions.conf file.  You need:
>              [newcontext]
>               switch => Realtime/@
> or it will not work.
>
> The hard answer is, yes, there is a catch all patch out there is the
> ether, do a google search for "asterisk alf scherer" and you can catch
> up on the progress with the patch, try it, it may work for you.
>
> JR
> --
> JR Richardson
> Engineering for the Masses
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071030/c069acb3/attachment.htm 


More information about the asterisk-users mailing list