<!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.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>I have a little
situation with my dialplan, and I am wondering if what I want is even
possible.</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>Here it is: I have
three contexts, context1 includes contexts2, and context2 includes
context3. In other words, in context1 all extensions of
context2 and context3 are valid (and actually working, so that's good). I
am using those context for the sake of code clarity and reuse, and for this
reason they are absolutely needed.</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>Most extensions work
allright, EXCEPT in the cases where there are "overlapping" extensions, for
exemple 2, 23 and 235. In a normal dialplan, I would expect when dialing
"2" that there would be a timeout of 5 seconds before that extension is
dialed. When dialing 23, another 5 second delay and when dialing 235 it
would dial immediately. In other words, when I pressed "2" that extension
would not immediately be dialed but asterisk would wait for other
digits.</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>In my case, the
extensions are split as follows:</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2>[context1]</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>include =>
context2</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>exten => 2,
1,noop(2)</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2>[context2]</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>include =>
context3</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>exten =>
23,1,noop(23")</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2>[context3]</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>exten =>
235,1,noop(235)</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>And the RESULT is
that when I press "2" in context1, it doesnt even give me a chance to dial the
other digits, it simply connects me to extension 2. What if I wanted to
put in 235???</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>Is
this:</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>1) A
bug?</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>2)
WAD?</FONT></SPAN></DIV>
<DIV><SPAN class=812310017-01022006><FONT face=Arial size=2>3) I missed
something?</FONT></SPAN></DIV></BODY></HTML>