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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jul 29 06:15:00 MST 2006


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



More information about the asterisk-users mailing list