<br><br><div class="gmail_quote">On Wed, May 27, 2009 at 3:56 PM, Lars Zeb <span dir="ltr"><<a href="mailto:larclap@yahoo.com">larclap@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">When I create an xml file in conf/dialplan/default, I assume
that it’s ‘inheriting’ its context, right?</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p></div></div></blockquote><div>Correct. Files in conf/dialplan/default/*xml are included in the default context while conf/dialplan/public/*xml are included in the public context. You may also create your own contexts if need be. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">If that’s so, do I use this structure, for example
conf/dialplan/default/00_MyExtension.xml:</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><include></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> <extension name=”Local_Extension”></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> …</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </extension></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"></include></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p></div></div></blockquote><div>Yes, that is perfectly fine.<br>-MC<br></div></div><br>