[Freeswitch-users] ERR root tag missing
Troy Anderson
troy at tlainvestments.com
Thu Jan 28 11:49:10 PST 2010
I'm seeing this error quite often on my systems:
2010-01-28 12:35:46.703112 [ERR] switch_xml.c:1571 Error[[error near line 1]: root tag missing]
I've looked at freeswitch.xml.fsxml to see if I could find some kind of malformed XML, but with no luck. Which Is line 1is it referring to?
Line 1 of freeswitch.xml.fsxml is a comment, with the first actual XML line like:
<document type="freeswitch/xml">
This error always happens right after after a mod_dialplan_xml.c:408 log message, so I'm led to believe my dialplan XML is messed up, but I cannot see where.
In freeswitch.xml.fsxml near the dialplan section, this is what I have:
...
<section name="configuration" description="Various Configuration">
<!-- CUT a bunch of stuff ... CUT -->
</section>
<section name="dialplan" description="Regex/XML Dialplan">
<context name="my_office">
<extension name="unloop">
<condition field="${unroll_loops}" expression="^true$"/>
<condition field="${sip_looped_call}" expression="^true$">
<action application="deflect" data="${destination_number}"/>
</condition>
</extension>
<extension name="set_domain" continue="true">
<condition field="${domain_name}" expression="^$"/>
<condition field="source" expression="mod_sofia"/>
<condition field="${sip_auth_realm}" expression="^$">
<action application="set" data="domain_name=10.0.0.120"/>
<anti-action application="set" data="domain_name=${sip_auth_realm}"/>
</condition>
</extension>
...
</section>
...
Thanks for any ideas!
-Troy
More information about the FreeSWITCH-users
mailing list