<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>So,
I've kind of converted my dialplan from:</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=>
custcare,1,GotoIfTime(8:00-17:00|mon-fri|*|*?acd_one_queue,custcare-open,1)<BR>exten
=> custcare,2,Goto(custcare-closed,1)</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=> custcare-open,1....</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=> custcare-open,99....</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006></SPAN> </DIV>
<DIV><SPAN class=417265915-31052006>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=> custcare-closed,1....</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=> custcare-closed,99....</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006></SPAN> </DIV>
<DIV><SPAN class=417265915-31052006>to:</SPAN></DIV>
<DIV><SPAN
class=417265915-31052006></SPAN> </DIV></FONT></SPAN></DIV></SPAN></DIV>
<DIV><SPAN class=417265915-31052006>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=> custcare,1,GotoIfTime(8:00-17:00|mon-fri|*|*?custcare_open)<BR>exten =>
custcare,n,Goto(custcare-closed,1)</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=> custcare,n(open_start),...</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006></SPAN><SPAN class=417265915-31052006><FONT
face=Arial color=#0000ff size=2><SPAN class=417265915-31052006><FONT face=Arial
color=#0000ff size=2>exten => custcare,n...</FONT></SPAN></DIV>
<DIV>
<DIV><SPAN class=417265915-31052006></SPAN> </DIV>
<DIV><SPAN class=417265915-31052006>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=> custcare,n(closed_start)...</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>exten
=> custcare,n...</FONT></SPAN></DIV>
<DIV><SPAN
class=417265915-31052006></SPAN> </DIV></FONT></SPAN></DIV></SPAN></DIV></FONT></SPAN></DIV></SPAN></DIV></FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff size=2>I
don't like having those final statements in each block. Previously, execution
would implicitly end because there was no priorities left in each extension. Now
however, everything is in one extension and I can't be sure that execution will
not continue at the end of a section (open,closed etc). Is there some sort of
explicit dialplan command that stops execution and immediately ends the
dialplan? Something like MacroExit() in a macro.... Can't see it in the
docs.</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff
size=2>Doug.</FONT></SPAN></DIV>
<DIV><SPAN class=417265915-31052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV></BODY></HTML>