Hello John,<br><br><div class="gmail_quote">On Tue, Sep 8, 2009 at 5:43 PM, John Quick <span dir="ltr">&lt;<a href="mailto:John.Quick@smartvox.co.uk">John.Quick@smartvox.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have been experimenting with Radius authentication on an older version of OpenSIPS (actually my test<br>
unit has OpenSER v1.3.2, but I don&#39;t think it will be much different to 1.5.x for this). I want to be<br>
able to read several values returned from the Radius server. Is this what the modparam &quot;radius_extra&quot;<br>
is for? Or is it to allow extra values to be passed to the Radius server for accounting?<br>
<br></blockquote><div><br></div><div>The &quot;radius_extra&quot; parameter only allows you to send extra values to the Radius server, to be logged for accounting. You cannot fetch any value from an accounting reply.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
My Radius server is configured to return three AVP&#39;s like this:<br>
Reply-Message = &quot;Opensips rules!&quot;,<br>
Sip-RPId = <a href="mailto:sip%3A123456@mysip.com">sip:123456@mysip.com</a>,<br>
SIP-AVP = &quot;#<a href="mailto:14%3A012345@mynumber.biz">14:012345@mynumber.biz</a>&quot;<br>
<br>
Using Wireshark, I can see that the values are all being sent back to the OpenSIPS server, but I have<br>
only had success in accessing the value in SIP-AVP. Is there a trick to this or are those other values<br>
unavailable in the OpenSIPS script?<br>
<br>
Is the functionality I&#39;m looking for only available in the new AAA modules?<br>
<br></blockquote><div><br></div><div>The functionality you are looking for is provided by the new AAA_RADIUS module. Using the functions exported by this module you can yield directly from the script any type of Radius query and also inspect replies for certain attributes.</div>
<div>For more information, check out <a href="http://www.opensips.org/Resources/DocsTutRadius">the tutorial</a> and <a href="http://www.opensips.org/html/docs/modules/devel/aaa_radius.html">the documentation</a> . </div><div>
If you have any other uncertainties, please let me know. Any other suggestions are welcome as well.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

John Quick<br>
Smartvox Limited<br>
Web: <a href="http://www.smartvox.co.uk" target="_blank">www.smartvox.co.uk</a><br>
<br>
Smartvox is a limited company, registered in England and Wales, number 5005263.<br>
Registered office: Spectrum House, Dunstable Road, Redbourn, St.Albans, Herts AL3 7PR<br>
 <br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><div><br></div><div>Best regards,</div><div>Irina Stanescu</div><div><br></div><div><br></div>