[Asterisk-Dev] Dev Meeting list

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Apr 28 16:38:43 MST 2005


On Thursday 28 April 2005 17:37, Edwin Groothuis wrote:
> On Thu, Apr 28, 2005 at 03:00:55PM -0500, Brian West wrote:
> > Getting rid of n+101 globally.
> >
> >     Need list of apps that use n+101
>
> For a client I have made a function which is called like this:
>
>     exten => 700,1,EnumLookupNG(1234567890,10,20,30,40)
>
> The first one is the number to lookup, the next ones are the
> priorities to jump to for the relevant types returned by the
> function.
>
> I can imagine that you have the same for other functions which can
> branch the flow of the program.
>
> No more frustrations when you add a step in front of this and having
> to recalculate all your jump points!

You already didn't need to, if you used labels:

exten => 123,1,DBGet(....)
exten => 123,n(dial),Dial(....)
exten => 123,n,SomethingWhenNoAnswer
.....
exten => 123,dial+101,SomethingWhenBusy

-- 
Tilghman



More information about the asterisk-dev mailing list