[asterisk-users] Re: need a pointer regarding scripting asterisk

Andy Kuo akuoca at gmail.com
Wed Aug 2 14:24:25 MST 2006


Hi,

Can you give a quick example on how to query an EXTERNAL database?

Thank you.
Andy

On 7/29/06, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> On Fri, Jul 28, 2006 at 04:08:19PM -0500, shawn bright wrote:
> > i would use a dial plan, but we are monitoring about 1200 units in the
> > field, i thought a dial plan would be a little long or complex for that. I
> > suppose that i could use a dial plan and set guys up by editing the
> > extensions.conf file for each one ? I just thought it might be easier to
> > script it somehow.
>
> You can always generate part of extensions.conf automatically and
> #include it. It will be updated by, e.g., 'extensions reload'.
>
> Maybe you'll also find a smart way to do that using wildcards or
> whatever. You can also query the internal asteriskdb or an external
> dataase from the dialplan.
>
> --
> Tzafrir Cohen         sip:tzafrir at local.xorcom.com
> icq#16849755          iax:tzafrir at local.xorcom.com
> +972-50-7952406          jabber:tzafrir at jabber.org
> tzafrir.cohen at xorcom.com     http://www.xorcom.com
> _______________________________________________
> --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