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><include></div><div><br></div><div><font class="Apple-style-span" face="'courier new', monospace"> <domain name="mikey"></font></div><div><font class="Apple-style-span" face="'courier new', monospace"> <params></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> </params></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"> <variables></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <variable name="record_stereo" value="true"/></font></div><div><font class="Apple-style-span" face="'courier new', monospace"> <variable name="default_gateway" value="$${default_provider}"/></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <variable name="default_areacode" value="$${default_areacode}"/></font></div><div><font class="Apple-style-span" face="'courier new', monospace"> <variable name="transfer_fallback_extension" value="operator"/></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> </variables></font></div><div><font class="Apple-style-span" face="'courier new', monospace"> </domain></font></div><div>
<font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"></include></font></div></div><div><br></div><div>As you can see, I simply copied and pasted some stuff from the default domain into the 'mikey' domain and it worked just fine.</div>
<div><br></div><div>My guess is that you've got an erroneous closing tag somewhere in your XML. If you can'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"><<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>></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"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></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"><<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>></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><domain name="xyz"><br>
<br></domain><br><br>Cannot Initialize [[error near line 2868]: unexpected closing tag </domain>]<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><section name="directory" description="User Directory"><br>
<X-PRE-PROCESS cmd="include" data="directory/*.xml"/><br> </section><br><br>it works when removed the section other wise give error as unexpected closing tag </section>]<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>