<html><div style='background-color:'><DIV class=RTE><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">From:&nbsp;&nbsp;<I>"Eric \"ManxPower\" Wieling" &lt;eric@fnords.org&gt;</I><BR>&gt;Yuan LIU wrote:<BR>&gt;&gt;In examples, s-${DIALSTATUS} is used to handle unsuccessful dial <BR>&gt;&gt;attempts in the s extension.&nbsp;&nbsp;Goto() is used in examples.&nbsp;&nbsp;Is the <BR>&gt;&gt;prefix "s-" mandatory? Is it related to the original extension "s"? <BR>&gt;&gt;(Apparently Goto(${DIALSTATUS}) won't work for me.)<BR>&gt;<BR>&gt;Goto(${DIALSTATUS}) won't work because with only one parameter Goto <BR>&gt;will think it is a priority.&nbsp;&nbsp;Try Goto(${DIALSTATUS},1)<BR></FONT></DIV>
<DIV class=RTE><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">Sorry for posting&nbsp;wrong code - was Goto(${DIALSTATUS},1).&nbsp; Probably&nbsp;the&nbsp;very extension&nbsp;didn't get ${DIALSTATUS}, as others indicated that it only gets set when channel hangs up, in which case only extension h can be executed.&nbsp; On the other hand, the Asterisk "book" gave the example in extension s - haven't tested extensively either way, as this is not yet critical.</FONT></DIV>
<DIV class=RTE><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif"></FONT>&nbsp;</DIV>
<DIV class=RTE><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">Yuan Liu</DIV></FONT></div></html>