Hi,<br><br>I tried to to <span lang="en"><span>authenticate</span></span> users from external source with mod_perl or mod_xml_curl. Configuration and code looks like:<br><br>mod_perl:<br><br><configuration name="perl.conf"><br>
<settings><br> <param name="xml-handler-script" value="/var/lib/freeswitch/scripts/<a href="http://directory.pl">directory.pl</a>"/><br> <param name="xml-handler-bindings" value="directory"/><br>
</settings><br></configuration><br><br>$XML_STRING = '<br><?xml version="1.0" encoding="UTF-8" standalone="no"?><br><document type="freeswitch/xml"><br>
<section name="directory"><br> <domain name="$${local_address}"><br> <params><br> <param name="dial-string" value="${sofia_contact(${dialed_user}@${dialed_domain})}"/><br>
</params><br> <groups><br> <group name="local"><br> <users><br> <user id="123"><params><param name="password" value="123"/></params></user><br>
</users><br> </group><br> </groups><br> </domain><br> </section><br></document><br>';<br><br>mod_xml_curl:<br><br><configuration name="xml_curl.conf"><br>
<bindings><br> <binding name="directory"><br> <param name="gateway-url" value="<a href="http://localhost:5000">http://localhost:5000</a>" bindings="directory"/><br>
</binding><br> </bindings><br></configuration><br><br>use Mojolicious::Lite;<br>post '/' => 'index';<br>app->start;<br>__DATA__<br>@@ index.html.ep<br><?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
<document type="freeswitch/xml"><br>
<section name="directory"><br>
<domain name="$${local_address}"><br>
<params><br>
<param name="dial-string" value="${sofia_contact(${dialed_user}@${dialed_domain})}"/><br>
</params><br>
<groups><br>
<group name="local"><br>
<users><br>
<user id="123"><params><param name="password" value="123"/></params></user><br>
</users><br>
</group><br>
</groups><br>
</domain><br>
</section><br>
</document><br><br><span lang="en"><span>Authentication</span></span> via mod_xml_curl was <span lang="en"><span>succeeded, </span></span><span lang="en"><span>authentication</span></span> via mod_perl was failed. What is wring with it?<br>
<br>--<br>Regards,<br>Eugene Prokopiev<br>