[Asterisk-Dev] Wish List / Brain Storm from AstriCon

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Sep 28 21:25:24 MST 2004


On Tuesday 28 September 2004 18:17, Nicolas Gudino wrote:
> 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..

Labels have already been implemented (bug #1778), and are waiting for
further discussion before proceeding.

-- 
Tilghman



More information about the asterisk-dev mailing list