[asterisk-users] Dial function exit, go to line n+1

Jared Smith jsmith at digium.com
Wed Jul 9 09:03:07 CDT 2008


On Wed, 2008-07-09 at 13:42 +0200, Jerome Poggi wrote:
> I use them before some patch. But this example work :
> 
>  exten => s,5,ChanIsAvail(SIP/604,s)
>  exten => s,6,Dial(SIP/604,15,wotr)
>  exten => s,7,NoOp(Nopnopnopnopnop)
>  exten => s,10,NoOp(Matthieu)
> 
> and this not :
> 
>  exten => s,5,ChanIsAvail(SIP/604,s)
>  exten => s,6,Dial(SIP/604,15,wotr)
>  exten => s,10,NoOp(Matthieu)
> 
> The problem is not the deprecated jump n+101, the problem is simple why
> Dial exit to line 7 but not to the next line.

Priority numbers *must* be sequential... in other words, your priority
numbers must be 1, 2, 3, 4, 5... Asterisk won't skip missing numbers in
the sequence.

-- 
Jared Smith
Training Manager
Digium, Inc.




More information about the asterisk-users mailing list