<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Chad,<div><br></div><div>You do get IP information through mod_xml_curl. You should get the following variables to your web application:</div><div><br></div><div>* action</div><div>* sip_profile</div><div>* sip_user_agent</div><div>* sip_auth_username</div><div>* sip_auth_realm</div><div>* sip_auth_nonce</div><div>* sip_auth_uri</div><div>* sip_contact_user</div><div>* sip_contact_host</div><div>* sip_to_user</div><div>* sip_to_host</div><div>* sip_to_port</div><div>* sip_from_user</div><div>* sip_from_host</div><div>* sip_from_port</div><div>* sip_request_user</div><div>* sip_request_host</div><div>* sip_request_port</div><div>* sip_auth_qop</div><div>* sip_auth_cnonce</div><div>* sip_auth_response</div><div>* sip_auth_method</div><div><br></div><div>Besides that you also get all sip headers that start with X-</div><div><br></div><div>But of course you can use any module that implements the xml handler directory binding such as:</div><div><br></div><div>* mod_erlang_event</div><div>* mod_perl</div><div>* mod_yaml</div><div>* mod_lua</div><div>* mod_managed</div><div>* mod_xml_curl</div><div>* mod_xml_ldap</div><div><br></div><div>I don't know how well each of these work, but I can tell that mod_lua (in combination with fetching data from a db) works great in our production environment - see an example here:&nbsp;<a href="http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh#User_Directory_XML">http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh#User_Directory_XML</a></div><div><br></div><div>regards,</div><div><br></div><div>Leon</div><div><br></div><div><br><div><div>On Sep 30, 2011, at 7:31 AM, Chad Vogel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I'm not looking to use curl, I would like to use some kind of scripting so i can apply custom rules to track and reject authentication based on rate and origin of authentication from source ip address<br><br>On Sep 29, 2011, at 11:22 PM, Jack wrote:<br><br><blockquote type="cite">Hi Chad,<br></blockquote><blockquote type="cite"> mod_curl works great for that....<br></blockquote><blockquote type="cite">Jack<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 9/29/2011 5:47 PM, Chad Vogel wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hello,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I am wondering if anyone has created any scripts to manage user authentication using a database?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Chad<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FreeSWITCH-users mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">FreeSWITCH-users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></blockquote><blockquote type="cite">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote><blockquote type="cite"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote><blockquote type="cite"><br></blockquote><br><br><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br></div></body></html>