[OpenSIPS-Users] Custom RADIUS auth and db_check_*
    Bogdan-Andrei Iancu 
    bogdan at opensips.org
       
    Thu May  7 19:19:29 CEST 2015
    
    
  
Hi Aleksey,
Try do the a manual comparison:
     if ($au != $fU)
see http://www.opensips.org/Documentation/Script-CoreVar-1-11#toc7
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 24.04.2015 17:35, Aleksey Fedorov wrote:
>
> Hi!
>
> How to check To/From username against digest credentials if 
> radius_send_auth() used instead of aaa_www_authorize/aaa_proxy_authorize.
>
> If I call db_check_to() after successful radius_send_auth() call I get 
> this errors:
>
> Apr 24 14:02:28 sip-node1 /sbin/opensips[2653]: 
> ERROR:uri:check_username: No authorized credentials found (error in 
> scripts)
> Apr 24 14:02:28 sip-node1 /sbin/opensips[2653]: 
> ERROR:uri:check_username: Call {www,proxy}_authorize before calling 
> check_* functions!
>
> When aaa_www_authorize/aaa_proxy_authorize is used all is OK.
> But I need custom attributes send to RADIUS therefore I need to use 
> radius_send_auth().
>
> --
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150507/8b31a57d/attachment-0001.htm>
    
    
More information about the Users
mailing list