<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>&lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div>&lt;section name=&quot;configuration&quot; description=&quot;FreeSWITCH Configuration&quot;&gt;</div><div>&lt;configuration name=&quot;<span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">directory</span>.conf&quot; description=&quot;<span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">Directory</span>&quot;&gt;</div>


<div><span style="white-space:pre-wrap">        </span>&lt;settings&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;odbc-dsn&quot; value=&quot;freeswitch:user:password&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;/settings&gt;</div>


<div>&lt;profiles&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;profile name=&quot;<a href="http://mydomain.com/" style="color:rgb(17,85,204)" target="_blank">mydomain.com</a>&quot;&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;digit-timeout&quot; value=&quot;3000&quot;/&gt;</div>


<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;max-menu-attempts&quot; value=&quot;3&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;max-result&quot; value=&quot;5&quot;/&gt;</div>


<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;min-search-digits&quot; value=&quot;3&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;new-search-key&quot; value=&quot;3&quot;/&gt;</div>


<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;next-key&quot; value=&quot;6&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;prev-key&quot; value=&quot;4&quot;/&gt;</div>


<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;search-order&quot; value=&quot;last_name&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;select-name-key&quot; value=&quot;1&quot;/&gt;</div>


<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;switch-order-key&quot; value=&quot;*&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;terminator-key&quot; value=&quot;#&quot;/&gt;</div>


<div><span style="white-space:pre-wrap">        </span>&lt;/profile&gt;</div><div>&lt;/profiles&gt;</div><div>&lt;/configuration&gt;</div><div><span style="color:rgb(136,18,128);font-family:monospace;font-size:13px">&lt;/section</span><span style="color:rgb(136,18,128);font-family:monospace;font-size:13px">&gt;</span></div>


<div>&lt;/document&gt;</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(&quot;directory&quot;, domain_name..&quot; &quot;..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 &lt;document&gt;]</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">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</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 &lt;section&gt; tag...<br>-MC<br><br><div class="gmail_quote"><div>On Sat, Feb 16, 2013 at 6:58 PM, Lloyd Aloysius <span dir="ltr">&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>&gt;</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 &lt;document&gt;]</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>&lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div>&lt;section name=&quot;configuration&quot; description=&quot;FreeSWITCH Configuration&quot;&gt;</div><div>&lt;configuration name=&quot;directory.conf&quot; description=&quot;Directory&quot;&gt;</div>





<div><span style="white-space:pre-wrap">        </span>&lt;settings&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;odbc-dsn&quot; value=&quot;freeswitch:user:password&quot;/&gt;</div>

<div><span style="white-space:pre-wrap">        </span>&lt;/settings&gt;</div><div>&lt;profiles&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;profile name=&quot;<a href="http://mydomain.com" target="_blank">mydomain.com</a>&quot;&gt;</div>





<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;digit-timeout&quot; value=&quot;3000&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;max-menu-attempts&quot; value=&quot;3&quot;/&gt;</div>





<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;max-result&quot; value=&quot;5&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;min-search-digits&quot; value=&quot;3&quot;/&gt;</div>





<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;new-search-key&quot; value=&quot;3&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;next-key&quot; value=&quot;6&quot;/&gt;</div>





<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;prev-key&quot; value=&quot;4&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;search-order&quot; value=&quot;last_name&quot;/&gt;</div>





<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;select-name-key&quot; value=&quot;1&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;switch-order-key&quot; value=&quot;*&quot;/&gt;</div>





<div><span style="white-space:pre-wrap">                </span>&lt;param name=&quot;terminator-key&quot; value=&quot;#&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;/profile&gt;</div>

<div>&lt;/profiles&gt;</div><div>&lt;/configuration&gt;</div><div>&lt;/document&gt;</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>