<font face="verdana,sans-serif">Brian/Mike,</font><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">Thank you for the reply. When I copy and paste into the mailing list.. the section tag missed</font></div>
<div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana, sans-serif">There is already a section tag end</font></div><div><font face="verdana, sans-serif"><br></font></div><div><div style="font-size:13.333333969116211px;font-family:arial,sans-serif">
<div><document type="freeswitch/xml"></div><div><section name="configuration" description="FreeSWITCH Configuration"></div><div><configuration name="<span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">directory</span>.conf" description="<span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">Directory</span>"></div>
<div><span style="white-space:pre-wrap">        </span><settings></div><div><span style="white-space:pre-wrap">                </span><param name="odbc-dsn" value="freeswitch:user:password"/></div><div><span style="white-space:pre-wrap">        </span></settings></div>
<div><profiles></div><div><span style="white-space:pre-wrap">        </span><profile name="<a href="http://mydomain.com/" style="color:rgb(17,85,204)" target="_blank">mydomain.com</a>"></div><div><span style="white-space:pre-wrap">                </span><param name="digit-timeout" value="3000"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="max-menu-attempts" value="3"/></div><div><span style="white-space:pre-wrap">                </span><param name="max-result" value="5"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="min-search-digits" value="3"/></div><div><span style="white-space:pre-wrap">                </span><param name="new-search-key" value="3"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="next-key" value="6"/></div><div><span style="white-space:pre-wrap">                </span><param name="prev-key" value="4"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="search-order" value="last_name"/></div><div><span style="white-space:pre-wrap">                </span><param name="select-name-key" value="1"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="switch-order-key" value="*"/></div><div><span style="white-space:pre-wrap">                </span><param name="terminator-key" value="#"/></div>
<div><span style="white-space:pre-wrap">        </span></profile></div><div></profiles></div><div></configuration></div><div><span style="color:rgb(136,18,128);font-family:monospace;font-size:13px"></section</span><span style="color:rgb(136,18,128);font-family:monospace;font-size:13px">></span></div>
<div></document></div><div><br></div></div></div><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">When I reload the modules from cli. switch identify the profiles. But when I execute the .. </font></div>
<div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">session:execute("directory", domain_name.." "..domain_name)</font></div><div><font face="verdana,sans-serif"><br>
</font></div><div><font face="verdana,sans-serif">I got the <br clear="all"></font><div><font face="verdana, sans-serif"><br></font></div><div><div style="font-size:13.333333969116211px;font-family:arial,sans-serif">
<font color="#ff0000">2013-02-16 21:43:04.621318 [ERR] switch_xml.c:1650 Error[[error near line 1]: unclosed tag <document>]</font></div><div style="font-size:13.333333969116211px;font-family:arial,sans-serif">
<font color="#ff0000">2013-02-16 21:43:04.621318 [WARNING] <span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">mod_directory</span>.c:545 Cannot locate domain <a href="http://mydomain.com/" style="color:rgb(17,85,204)" target="_blank">mydomain.com</a></font></div>
</div><div><br></div><div><span style="font-family:verdana,sans-serif">domain_name and profile name is same</span></div><div><br></div>
Thanks</div><div>Lloyd<br><br><div class="gmail_quote">On Sun, Feb 17, 2013 at 11:44 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You forgot to close the <section> tag...<br>-MC<br><br><div class="gmail_quote"><div>On Sat, Feb 16, 2013 at 6:58 PM, Lloyd Aloysius <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><font face="verdana,sans-serif">Hi All</font></div><div><font face="verdana,sans-serif"><br>
</font></div><div><font face="verdana,sans-serif">I have a strange problem with the mod_directory. I use xml_curl for all the applications. Only </font>mod_directory giving this trouble.</div>
<div><span style="color:rgb(255,0,0)"><br></span></div><font face="verdana,sans-serif"><br clear="all"></font><div>EXECUTE sofia/sipinterface_1/<a href="mailto:marv@mydomain.com" target="_blank">marv@mydomain.com</a> directory(<a href="http://mydomain.com" target="_blank">mydomain.com</a> <a href="http://mydomain.com" target="_blank">mydomain.com</a>)</div>
<div>2013-02-16 21:43:04.601315 [DEBUG] mod_directory.c:518 [<a href="http://mydomain.com" target="_blank">mydomain.com</a>] rwlock</div><div><br></div><div><font color="#ff0000">2013-02-16 21:43:04.621318 [ERR] switch_xml.c:1650 Error[[error near line 1]: unclosed tag <document>]</font></div>
<div><font color="#ff0000">2013-02-16 21:43:04.621318 [WARNING] mod_directory.c:545 Cannot locate domain <a href="http://mydomain.com" target="_blank">mydomain.com</a></font></div><div><br></div><div>--</div><div><br></div>
<div>my direcotroy.conf xml curl output</div>
<div><br></div><div><div><document type="freeswitch/xml"></div><div><section name="configuration" description="FreeSWITCH Configuration"></div><div><configuration name="directory.conf" description="Directory"></div>
<div><span style="white-space:pre-wrap">        </span><settings></div><div><span style="white-space:pre-wrap">                </span><param name="odbc-dsn" value="freeswitch:user:password"/></div>
<div><span style="white-space:pre-wrap">        </span></settings></div><div><profiles></div><div><span style="white-space:pre-wrap">        </span><profile name="<a href="http://mydomain.com" target="_blank">mydomain.com</a>"></div>
<div><span style="white-space:pre-wrap">                </span><param name="digit-timeout" value="3000"/></div><div><span style="white-space:pre-wrap">                </span><param name="max-menu-attempts" value="3"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="max-result" value="5"/></div><div><span style="white-space:pre-wrap">                </span><param name="min-search-digits" value="3"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="new-search-key" value="3"/></div><div><span style="white-space:pre-wrap">                </span><param name="next-key" value="6"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="prev-key" value="4"/></div><div><span style="white-space:pre-wrap">                </span><param name="search-order" value="last_name"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="select-name-key" value="1"/></div><div><span style="white-space:pre-wrap">                </span><param name="switch-order-key" value="*"/></div>
<div><span style="white-space:pre-wrap">                </span><param name="terminator-key" value="#"/></div><div><span style="white-space:pre-wrap">        </span></profile></div>
<div></profiles></div><div></configuration></div><div></document></div></div><div><br></div><div><div style="font-family:arial">Any help is appreciated.</div><div style="font-family:arial"><br></div><div>
Thanks</div><span><font color="#888888"><div style="font-family:arial">Lloyd</div></font></span></div>
<br></div></div><div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></div></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>