I am using the v1.4.2 no tls version, that I got here : <br><a href="http://www.kamailio.org/pub/kamailio/1.4.2/src/kamailio-1.4.2-notls_src.tar.gz">http://www.kamailio.org/pub/kamailio/1.4.2/src/kamailio-1.4.2-notls_src.tar.gz</a><br>
<br>here are some modules used in my config for radius and avp :<br>loadmodule "acc.so"<br>loadmodule "auth_radius.so"<br>loadmodule "avpops.so"<br>loadmodule "avp_radius.so"<br>loadmodule "group_radius.so"<br>
loadmodule "peering.so"<br><br>Ah, too, you have to know that the uri_module is not usefull, because it uses the Service-Type "Sip-Session".<br>so it challenges a password, and it's not possible for the functions "is_radius_..." in uri_radius module.<br>
<br>Example with Radiator :<br><br># -- request : REGISTER / INVITE (www + proxy auth) -- <br><br><Handler Service-Type=Sip-Session><br> RewriteUsername s/^sip:(.*)/$1/<br> <AuthBy FILE><br> Filename %D/users-ser<br>
NoDefault<br> </AuthBy><br></Handler><br><br># -- request : SIP CALLEE AVP (avp_load_radius) --<br><br><Handler Service-Type=Sip-Callee-AVPs><br> RewriteUsername s/^sip:(.*)/$1/<br>
<AuthBy FILE><br> NoCheckPassword<br> Filename %D/users-ser<br> NoDefault<br> </AuthBy><br></Handler><br><br>If I want it works, I've to do this : "NoCheckPassword" - not really good for auth ...<br>
<br>Ok, it's just a nota bene, I know you're working on the v1.5 radius module :)<br><br>.Sam.<br><br><br><div class="gmail_quote">On Tue, Nov 4, 2008 at 7:06 AM, Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Samuel Muller writes:<br>
<br>
> I just want to know why the avp_print function understand another kind of<br>
> AVP name than he one we got in the Radius request ?<br>
> it adds "caller_" or "callee_" as a prefix ...<br>
<br>
</div>is this with trunk version? if yes, it is a relic from 1.4 that i need<br>
to fix.<br>
<font color="#888888"><br>
-- juha<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Samuel MULLER<br>Ingénieur Reseaux & Telecom<br>720 DEGRES<br>+33 (0)663 128 505<br><a href="mailto:sml@720.fr">sml@720.fr</a><br>