[Kamailio-Devel] Radius attributes and dictionary
Samuel Muller
sml at 720.fr
Tue Nov 4 10:04:24 CET 2008
I am using the v1.4.2 no tls version, that I got here :
http://www.kamailio.org/pub/kamailio/1.4.2/src/kamailio-1.4.2-notls_src.tar.gz
here are some modules used in my config for radius and avp :
loadmodule "acc.so"
loadmodule "auth_radius.so"
loadmodule "avpops.so"
loadmodule "avp_radius.so"
loadmodule "group_radius.so"
loadmodule "peering.so"
Ah, too, you have to know that the uri_module is not usefull, because it
uses the Service-Type "Sip-Session".
so it challenges a password, and it's not possible for the functions
"is_radius_..." in uri_radius module.
Example with Radiator :
# -- request : REGISTER / INVITE (www + proxy auth) --
<Handler Service-Type=Sip-Session>
RewriteUsername s/^sip:(.*)/$1/
<AuthBy FILE>
Filename %D/users-ser
NoDefault
</AuthBy>
</Handler>
# -- request : SIP CALLEE AVP (avp_load_radius) --
<Handler Service-Type=Sip-Callee-AVPs>
RewriteUsername s/^sip:(.*)/$1/
<AuthBy FILE>
NoCheckPassword
Filename %D/users-ser
NoDefault
</AuthBy>
</Handler>
If I want it works, I've to do this : "NoCheckPassword" - not really good
for auth ...
Ok, it's just a nota bene, I know you're working on the v1.5 radius module
:)
.Sam.
On Tue, Nov 4, 2008 at 7:06 AM, Juha Heinanen <jh at tutpro.com> wrote:
> Samuel Muller writes:
>
> > I just want to know why the avp_print function understand another kind
> of
> > AVP name than he one we got in the Radius request ?
> > it adds "caller_" or "callee_" as a prefix ...
>
> is this with trunk version? if yes, it is a relic from 1.4 that i need
> to fix.
>
> -- juha
>
--
Samuel MULLER
Ingénieur Reseaux & Telecom
720 DEGRES
+33 (0)663 128 505
sml at 720.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/devel/attachments/20081104/98fa393d/attachment.htm
More information about the Devel
mailing list