<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jared Smith wrote:
<blockquote cite="mid:1215612187.3394.1.camel@localhost.localdomain"
type="cite">
<pre wrap="">On Wed, 2008-07-09 at 13:42 +0200, Jerome Poggi wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
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.<br>
<br>
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.<br>
<br>
</body>
</html>