Hi, Was using multi company setup, it gave an error while using below syntax <domain name="xyz"> </domain> Cannot Initialize [[error near line 2868]: unexpected closing tag </domain>] And when i remove , it dont gives an error . the file is in directory/xyz.xml same happens on freeswitch.xml file when i remove the syntax <section name="directory" description="User Directory"> <X-PRE-PROCESS cmd="include" data="directory/*.xml"/> </section> it works when removed the section other wise give error as unexpected closing tag </section>] Regds Sam
Just for confirmation, have you looked at these two pages? http://wiki.freeswitch.org/wiki/Multi-tenant http://wiki.freeswitch.org/wiki/Multiple_Domains There is quite a bit of information for you to try. -MC On Mon, Jan 3, 2011 at 2:37 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Was using multi company setup,
it gave an error while using below syntax
<domain name="xyz">
</domain>
Cannot Initialize [[error near line 2868]: unexpected closing tag </domain>]
And when i remove , it dont gives an error . the file is in directory/xyz.xml
same happens on freeswitch.xml file
when i remove the syntax
<section name="directory" description="User Directory"> <X-PRE-PROCESS cmd="include" data="directory/*.xml"/> </section>
it works when removed the section other wise give error as unexpected closing tag </section>]
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Did it exactly what they they have suggested in wiki but give that error. Regards Sam On Tue, Jan 4, 2011 at 12:07 AM, Michael Collins <msc@freeswitch.org> wrote:
Just for confirmation, have you looked at these two pages? http://wiki.freeswitch.org/wiki/Multi-tenant http://wiki.freeswitch.org/wiki/Multiple_Domains
There is quite a bit of information for you to try. -MC
On Mon, Jan 3, 2011 at 2:37 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Was using multi company setup,
it gave an error while using below syntax
<domain name="xyz">
</domain>
Cannot Initialize [[error near line 2868]: unexpected closing tag </domain>]
And when i remove , it dont gives an error . the file is in directory/xyz.xml
same happens on freeswitch.xml file
when i remove the syntax
<section name="directory" description="User Directory"> <X-PRE-PROCESS cmd="include" data="directory/*.xml"/> </section>
it works when removed the section other wise give error as unexpected closing tag </section>]
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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: <include> <domain name="mikey"> <params> <param name="dial-string" value="{presence_id=${dialed_user}@ ${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/> </params> <variables> <variable name="record_stereo" value="true"/> <variable name="default_gateway" value="$${default_provider}"/> <variable name="default_areacode" value="$${default_areacode}"/> <variable name="transfer_fallback_extension" value="operator"/> </variables> </domain> </include> As you can see, I simply copied and pasted some stuff from the default domain into the 'mikey' domain and it worked just fine. 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. -MC On Mon, Jan 3, 2011 at 7:05 PM, Sam <u2nsam@gmail.com> wrote:
Did it exactly what they they have suggested in wiki but give that error.
Regards Sam
On Tue, Jan 4, 2011 at 12:07 AM, Michael Collins <msc@freeswitch.org>wrote:
Just for confirmation, have you looked at these two pages? http://wiki.freeswitch.org/wiki/Multi-tenant http://wiki.freeswitch.org/wiki/Multiple_Domains
There is quite a bit of information for you to try. -MC
On Mon, Jan 3, 2011 at 2:37 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Was using multi company setup,
it gave an error while using below syntax
<domain name="xyz">
</domain>
Cannot Initialize [[error near line 2868]: unexpected closing tag </domain>]
And when i remove , it dont gives an error . the file is in directory/xyz.xml
same happens on freeswitch.xml file
when i remove the syntax
<section name="directory" description="User Directory"> <X-PRE-PROCESS cmd="include" data="directory/*.xml"/> </section>
it works when removed the section other wise give error as unexpected closing tag </section>]
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Michael Collins
-
Sam