Re: Digest authentication and perl authorization

2009-01-07 Thread Alan DeKok
Luciano Afranllie wrote: Now, I have an stupid question. When I do digest authentication with this config, digest module set Auth-Type = Digest but I am overriding it with Auth-Type = Accept in perl module. How do I set Auth-Type in perl only if it is not already set? What is the value for a

Re: Digest authentication and perl authorization

2009-01-06 Thread Luciano Afranllie
Hi, On Mon, Jan 5, 2009 at 2:23 PM, t...@kalik.net wrote: I am thinking in something like this: - Radius client (b2bua) sends an access-request with Service_type = Authorize-Only - Adding perl module to authorization section. - In authorize function of perl module check if the balance is enough

Digest authentication and perl authorization

2009-01-05 Thread Luciano Afranllie
Hi, I have a test deployment with a sip proxy (kamailio) and a back to back user agent (sippy b2bua) pointing to freeradius. SIP proxy is making digest authentication of users and that is working fine. My plan is to use b2bua for prepaid calls authorization and call dropping (sip proxy forward

Re: Digest authentication and perl authorization

2009-01-05 Thread tnt
I am thinking in something like this: - Radius client (b2bua) sends an access-request with Service_type = Authorize-Only - Adding perl module to authorization section. - In authorize function of perl module check if the balance is enough to make the call. if yes add an attribute to the reply with