<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Vlad, it works ! :)<br>
<br>
Regards,<br>
<br>
Sebastien<br>
<br>
Le 20/06/2012 15:04, Vlad Paiu a écrit :
<blockquote cite="mid:4FE1CA41.3090301@opensips.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello,<br>
<br>
You are calling the uri.host transformation wrong. You have <small><font
face="Courier New, Courier, monospace"><br>
$ct.fields(uri){uri.host}</font></small><br>
but it should be<br>
<small><font face="Courier New, Courier, monospace">$(ct.fields(uri){uri.host}</font></small>)<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
<br>
On 06/20/2012 01:45 PM, Sebastien CRUAUX wrote:
<blockquote cite="mid:4FE1A9AF.5030206@halys.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
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>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>