Jared Smith wrote:
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.
Alternatively (and IMHO much more simple) you label the first priority
"1" and every subsequent priority "n". I forget exactly which version of
Asterisk this was introduced, but I've been using it since 1.2 with no
problems.
Gotos are handled quite easily too - any goto target's priorty should be
"n(somelabel)" and you simply specify Goto(somelabel),
Goto(extension,somelabel) or Goto(context,extension,somelabel) as required.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users