That's true but the reason for which i am disabling authentication is that i am using SIP/TLS over a mobile channel. Mobile channel is extremely unreliable and the packet loss and high delay trigger TCP congestion control systems. This cause *a lot of problems* increasing the delay for calling exponentially. So i need to reduce the amount of packets (and SIP protocol steps) required in order to let the mobile clients to: a) register b) INVITE When authentication is enabled the clients always attempt to login without authentication, get a "407" proxy authentication required and then try to re-register with authentication using Digest authentication. The same happen when there is an INVITE. Removing authentication let me have 50% reduced time and 50% less bandwidth in order to let a mobile client register and make a call. So definitely i need to keep auth-calls=false . At the same time i need to check if the users logging-in are "authorized" to login (without authentication) or not. Could it be done with FS as-is or does it require a custom modification/patches/features in the code? Fabio Pietrosanti On 22/03/10 15.00, Brian West wrote:
yes turn auth-calls = true.. the hint is to return an empty password if you want to let them in. So you do all your logic server side.
/b
On Mar 22, 2010, at 8:54 AM, Fabio Pietrosanti (naif) wrote:
Yes, i am already using mod_xml_curl but mod_xml_curl act only when you configure it for a lookup for authenticating users.
I am using it with xml_curl.conf with "directory" and "dialplan" succesfull with user authentication .
If i completely disable FS authentication: internal_auth_calls=false
users can log-in directly without authentication. But no query to mod_xml_curl is done because authentication is disabled.
However i need to first check if they are *authorized* to log-in without authentication and this decision has to be made by querying a database (with mod_xml_curl).
I need to check if a users is authorized to login without authentication by querying a database with mod_xml_curl.
This does not seems to be possible, already made some discussion on #freeswitch channel and David said that it seems to be a feature requests.
Fabio
_______________________________________________ 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