I am unable to replicate this error. I added a test domain in the default.xml file and it worked. I also created an entirely new file: conf/directory/mikey.xml and it worked as well. For the record, here is my file:<div><br>
</div><div><div>&lt;include&gt;</div><div><br></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">  &lt;domain name=&quot;mikey&quot;&gt;</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">    &lt;params&gt;</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;param name=&quot;dial-string&quot; value=&quot;{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}&quot;/&gt;</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">    &lt;/params&gt;</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">    &lt;variables&gt;</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;variable name=&quot;record_stereo&quot; value=&quot;true&quot;/&gt;</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;variable name=&quot;default_gateway&quot; value=&quot;$${default_provider}&quot;/&gt;</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;variable name=&quot;default_areacode&quot; value=&quot;$${default_areacode}&quot;/&gt;</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;variable name=&quot;transfer_fallback_extension&quot; value=&quot;operator&quot;/&gt;</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">    &lt;/variables&gt;</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">  &lt;/domain&gt;</font></div><div>
<font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;/include&gt;</font></div></div><div><br></div><div>As you can see, I simply copied and pasted some stuff from the default domain into the &#39;mikey&#39; domain and it worked just fine.</div>
<div><br></div><div>My guess is that you&#39;ve got an erroneous closing tag somewhere in your XML. If you can&#39;t find it then I recommend pastebin the directory section and ask others to have a look.</div><div>-MC<br>
<br><div class="gmail_quote">On Mon, Jan 3, 2011 at 7:05 PM, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Did it exactly what they they have suggested in wiki but give that error.<br><br>Regards<br><font color="#888888">Sam</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jan 4, 2011 at 12:07 AM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Just for confirmation, have you looked at these two pages?<div><a href="http://wiki.freeswitch.org/wiki/Multi-tenant" target="_blank">http://wiki.freeswitch.org/wiki/Multi-tenant</a></div>

<div><a href="http://wiki.freeswitch.org/wiki/Multiple_Domains" target="_blank">http://wiki.freeswitch.org/wiki/Multiple_Domains</a></div>
<div><br></div><div>There is quite a bit of information for you to try.</div><div>-MC<br><br><div class="gmail_quote"><div><div></div><div>On Mon, Jan 3, 2011 at 2:37 AM, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>Hi,<br><br>Was using multi company setup,<br><br>
it gave an error while using below syntax<br><br>&lt;domain name=&quot;xyz&quot;&gt;<br>
<br>&lt;/domain&gt;<br><br>Cannot Initialize [[error near line 2868]: unexpected closing tag &lt;/domain&gt;]<br>

<br>And when i remove , it dont gives an error .<br>the file is in directory/xyz.xml<br><br><br>same happens on freeswitch.xml file <br><br>when i remove the syntax <br><br>&lt;section name=&quot;directory&quot; description=&quot;User Directory&quot;&gt;<br>




    &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;directory/*.xml&quot;/&gt;<br>  &lt;/section&gt;<br><br>it works when removed the section other wise give error as unexpected closing tag &lt;/section&gt;]<br><br>



Regds<br><font color="#888888">
Sam<br><br><br>
</font><br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>