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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users