[Kamailio-Users] digest authentication

BERGANZ François francois at acropolistelecom.net
Wed Sep 17 14:47:03 CEST 2008


Hello,

 

I need help to do digest authentication !

 

I have:

 

 

Route{




modparam("auth_db", "calculate_ha1", yes)

modparam("auth_db", "db_url", "mysql://root:xxx@localhost/openser")

 

 

 

if (!proxy_authorize("realm.org", "subscriber")) {  

      proxy_challenge("realm.org", "1");

exit;

};




 

}

 

 

 

And, in my database :

 


username

domain

password

realm

Ha1


gaia

 

 

Realm.org

xxxxx

 

 

Where can be my problem ?

 

 

Cordialement

 

BERGANZ François

http://www.acropolistelecom.net <http://www.acropolistelecom.net/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080917/9dd07ea5/attachment.htm 


More information about the Users mailing list