Module: sip-router
Branch: master
Commit: 812e447be6174d2a4529325b0fac1e5a76151828
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=812e447…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Nov 14 22:09:19 2011 +0100
auth_db(k): new function auth_check()
- the function offers www/proxy_authenticate() behaviour by using first
for REGISTER and the second for the other requests
- it can check auth user against from/to user
- should simplify the config file for the common user authentication
scenario
---
modules_k/auth_db/Makefile | 2 +-
modules_k/auth_db/README | 81 +++++++++++++++++++++++--------
modules_k/auth_db/authdb_mod.c | 24 +++++++++
modules_k/auth_db/authorize.c | 78 +++++++++++++++++++++++++++++
modules_k/auth_db/authorize.h | 5 ++
modules_k/auth_db/doc/auth_db_admin.xml | 70 ++++++++++++++++++++++++++-
6 files changed, 237 insertions(+), 23 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=812…