Sorry about hijacking this thread!  I now know better.

I am using xml_curl, and I think that's the heads up I needed. Lemme check into what I'm returning from that...

Thanks!

On Jan 28, 2010, at 2:51 PM, Milena wrote:

Hello :)
First, do not hijack threads, if you want to post about a different problem, do not click reply and then change the subject, please create a NEW MESSAGE.

About your question, are you using xml_curl? or any other dialplan seekers?

-Milena

2010/1/28 Troy Anderson <troy@tlainvestments.com>
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


_______________________________________________
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