[Asterisk-Dev] Wish List / Brain Storm from AstriCon
Nicolas Gudino
nicolas at house.com.ar
Tue Sep 28 16:17:27 MST 2004
On Tue, 2004-09-28 at 20:01, Thomas Horsten wrote:
> On Tue, 28 Sep 2004, Robert Jackson wrote:
>
> > exten => s,@,[Some App]
> >
> > And have it automatically run before going to priority #1. This would
> > be very helpful if you have to preform some macro or other procedure
> > before everything else. Currenlty to get the same functionality you
> > have to renumber all the other priorities.
> >
> > I could be completely off with this one, but that is what I understood.
>
> Something what would (IMHO) be more useful is "#" expansion, which
> basically auto-assigns the next available priority in the order the lines
> are encountered.. So you could do:
>
> exten => s,#,Answer
> exten => s,#,SomeApp
> exten => s,#,SomeOtherApp
>
> and when the config file is parsed, these are assigned 1,2,3 dynamically,
> based on the order they are listed.
>
> Would make it a lot easier to edit simple "exten" scripts.
How do you GOTO then? I think that we also need LABELS..
--
Nicolas Gudino <nicolas at house.com.ar>
More information about the asterisk-dev
mailing list