<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I would like to send custom RADIUS Access-Requests from Opensips to
my RADIUS server. The documentation told me it was possible using
the radius_send_auth() function. This function needs the definition
of sets in aaa_radius module parameters in order to work.<br>
<br>
I followed the doc and defined a couple of sets but I always get the
same error :<br>
<small><font face="Courier New, Courier, monospace"><br>
ERROR:aaa_radius:parse_set_content: malformed modparam <br>
ERROR:aaa_radius:parse_sets_func: malformed modparam set1 <br>
CRITICAL:core:yyerror: parse error in config file, line 258,
column 18-19: Parameter <sets> not found in module
<aaa_radius> - can't set <br>
ERROR:core:main: bad config file (1 errors) </font></small><br>
<br>
Here is the definition of my custom sets :<br>
<br>
<small><font face="Courier New, Courier, monospace">modparam("aaa_radius",
"sets", "set1 = (User-Name=$fU, Sip-Method=$rm,
Digest-User-Name=$au, Digest-Realm=$ar, Digest-Nonce=$an,
Digest-Algorithm=$auth.alg, Digest-Response=$auth.resp,
Framed-IP-Address=$ct.fields(uri){uri.host},
NAS-IP-Address=$si)")</font></small><br>
<small><font face="Courier New, Courier, monospace">modparam("aaa_radius",
"sets", "set2 = (User-Name=$fU)")</font></small><br>
<br>
Can anyone tell me what could be wrong in this definition ? When I
comment the definition of "set1", Opensips starts fine so I guess
one of the AVPs makes it crash but I can't figure out which one.<br>
Thanks.<br>
<br>
Best Regards,<br>
<br>
Sebastien<br>
</body>
</html>