[OpenSIPS-Users] Custom RADIUS auth and db_check_*

Aleksey Fedorov aleksey.v.fedorov at gmail.com
Fri Apr 24 16:35:55 CEST 2015


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().

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150424/94b1c467/attachment.htm>


More information about the Users mailing list