[Serusers] ser + radius

Alex alexander_gav at yahoo.com
Wed Apr 6 16:11:57 CEST 2005


I have some problem with radius and mysql, 
i setup everything i hope correctly and i tried to run
 
radtest test 123 localhost "secret"
and it's working fine i see in the logs the access to database and verifying username with password against mysql database radius,working great.
 
The problem is that my ip phone sending register and i don't see anything inside logs for radius access and verification.
 
inside ser.cfg
----------------------------------

loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
loadmodule "/usr/local/lib/ser/modules/uri_radius.so"
loadmodule "/usr/local/lib/ser/modules/group_radius.so"

 
 if (method=="REGISTER") 
        {
                log(1, "REGISTER: Authenticating user\n");
                if (!radius_www_authorize(""))
                {
                        log(1, "REGISTER: challenging user\n");
                        www_challenge("", "0");
                        break;
                };
                #setflag(1);
                save("location");
                sl_send_reply("200","ok");
                break;
        };

 
Any help will be appreciated
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050406/0790ba66/attachment.htm>


More information about the sr-users mailing list