Gurus, Can we configure FS to have it to read registeration users information (e.g. account and pwd) for authentication from external database replacing default xml files(under conf\directory\default)? e.g. we have a database which contains user's account and password and was used by other application, we would like to have FS to read this exsiting databse for authentication as well... Thanks. Regards, Charles
Not directly, but you can use xml_curl to query a web server which queries a database: http://wiki.freeswitch.org/wiki/Mod_xml_curl http://wiki.freeswitch.org/wiki/Mod_xml_curl#bindings.3D.22directory.22 From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of fieldpeak Sent: Monday, June 20, 2011 6:11 AM To: FreeSWITCH-users Cc: 442962866@139.com Subject: [Freeswitch-users] Can FS use external user database Gurus, Can we configure FS to have it to read registeration users information (e.g. account and pwd) for authentication from external database replacing default xml files(under conf\directory\default)? e.g. we have a database which contains user's account and password and was used by other application, we would like to have FS to read this exsiting databse for authentication as well... Thanks. Regards, Charles
Hello Charles, Mod xml curl with bindings="directory" does that. Please have a look at http://wiki.freeswitch.org/wiki/Mod_xml_curl Best Regards, Nazim On 06/20/2011 04:11 PM, fieldpeak wrote:
Gurus,
Can we configure FS to have it to read registeration users information (e.g. account and pwd) for authentication from external database replacing default xml files(under conf\directory\default)?
e.g. we have a database which contains user's account and password and was used by other application, we would like to have FS to read this exsiting databse for authentication as well...
Thanks.
Regards, Charles
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
Hello Peder and Nazim, Thanks for your valuable information, i will have a try... Regards, Charles 2011/6/20 Nazim Aghabayov <nazim.aghabayov@gmail.com>
Hello Charles,
Mod xml curl with bindings="directory" does that. Please have a look at http://wiki.freeswitch.org/wiki/Mod_xml_curl
Best Regards, Nazim
On 06/20/2011 04:11 PM, fieldpeak wrote:
Gurus,
Can we configure FS to have it to read registeration users information (e.g. account and pwd) for authentication from external database replacing default xml files(under conf\directory\default)?
e.g. we have a database which contains user's account and password and was used by other application, we would like to have FS to read this exsiting databse for authentication as well...
Thanks.
Regards, Charles
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
participants (3)
-
fieldpeak
-
Nazim Aghabayov
-
Peder