[Serusers] hi

Jan Janak jan at iptel.org
Thu Nov 27 19:00:29 CET 2003


You should better learn how digest authentication works:

http://www.ietf.org/rfc/rfc2617.txt
http://www.ietf.org/rfc/rfc3261.txt

  Jan.

On 27-11 19:58, ??????? ??????? wrote:
> but i can register device,
> maybe is mistake in config ?
> i dont know 
> 
> this is my ser,conf
> 
> check_via=yes   # (cmd. line: -v)
> dns=yes           # (cmd. line: -r)
> rev_dns=yes      # (cmd. line: -R)
> #port=5060
> #children=4
> fifo="/tmp/ser_fifo"
> 
> loadmodule "/usr/local/lib/ser/modules/sl.so"
> loadmodule "/usr/local/lib/ser/modules/tm.so"
> loadmodule "/usr/local/lib/ser/modules/rr.so"
> loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
> loadmodule "/usr/local/lib/ser/modules/usrloc.so"
> loadmodule "/usr/local/lib/ser/modules/registrar.so"
> 
> loadmodule "/usr/local/lib/ser/modules/auth.so"
> loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
> loadmodule "/usr/local/lib/ser/modules/acc.so"
> 
> modparam("tm", "fr_inv_timer", 15 )
> modparam("tm", "fr_timer", 10 )
> modparam("rr", "enable_full_lr", 1)
> modparam("auth", "secret", "testing123")
> 
> #modparam("auth", "rpid_suffix", "@evgeniy.riscom.net>")
> modparam("auth_radius", "radius_config", "/altroot/client/etc/radiusclient/radiu
> modparam("auth_radius", "service_type", 15)
> modparam("acc", "radius_config", "/altroot/client/etc/radiusclient/radiusclient.
> modparam("acc", "log_level", 1)
> modparam("acc", "log_flag", 1)
> modparam("acc", "radius_flag", 1)
> 
> 
> route{
> 
>         if (!mf_process_maxfwd_header("10")) {
>                 sl_send_reply("483","Too Many Hops");
>                 break;
>         };
> 
>         if ( msg:len > max_len ) {
>                 sl_send_reply("513", "Message too big");
>                 break;
>         };
> 
>         record_route();
>        if (loose_route()) {
>                 t_relay();
>                 break;
>         };
> 
>         #setflag(1);
>         #if (method=="INVITE") record_route();
> 
>         if (uri==myself) {
>                 if (method=="REGISTER") {
>                         if (!radius_www_authorize("evgeniy,riscom.net")) {
>                                 www_challenge("evgeniy.riscom.net", "1");
>                                 break;
>                         };
>                         save("location");
>                         break;
>                 };
>                 if (!lookup("location")) {
>                         sl_send_reply("404", "Not Found");
>                         break;
>                 };
>         };
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list