You forgot to close the <section> tag...
-MC

On Sat, Feb 16, 2013 at 6:58 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
Hi All

I have a strange problem with the mod_directory. I use xml_curl for all the applications. Only mod_directory giving this trouble.


EXECUTE sofia/sipinterface_1/marv@mydomain.com directory(mydomain.com mydomain.com)
2013-02-16 21:43:04.601315 [DEBUG] mod_directory.c:518 [mydomain.com] rwlock

2013-02-16 21:43:04.621318 [ERR] switch_xml.c:1650 Error[[error near line 1]: unclosed tag <document>]
2013-02-16 21:43:04.621318 [WARNING] mod_directory.c:545 Cannot locate domain mydomain.com

--

my direcotroy.conf xml curl output

<document type="freeswitch/xml">
<section name="configuration" description="FreeSWITCH Configuration">
<configuration name="directory.conf" description="Directory">
<settings>
<param name="odbc-dsn" value="freeswitch:user:password"/>
</settings>
<profiles>
<profile name="mydomain.com">
<param name="digit-timeout" value="3000"/>
<param name="max-menu-attempts" value="3"/>
<param name="max-result" value="5"/>
<param name="min-search-digits" value="3"/>
<param name="new-search-key" value="3"/>
<param name="next-key" value="6"/>
<param name="prev-key" value="4"/>
<param name="search-order" value="last_name"/>
<param name="select-name-key" value="1"/>
<param name="switch-order-key" value="*"/>
<param name="terminator-key" value="#"/>
</profile>
</profiles>
</configuration>
</document>

Any help is appreciated.

Thanks
Lloyd

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org