[OpenSIPS-Users] aaa_radius problem with custom Attributes in radius with opensips
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Apr 20 11:33:27 CEST 2010
Hi,
Is your custom RADIUS dictionary included by the master RADIUS
dictionary (as defined in radiuc config) ?
do you see any errors when the radius request is sent out ?
Regards,
Bogdan
russellwilliams at hotmail.com wrote:
> HI
> I am somewhat new to opensips . I really need help.
> I am using opensips ver 1.6.0
> I have radiusclient-ng ver 0.5.6
> I have Radiator ver 4.2
> I am running CentOS 4.6
>
> in my opensips.cfg
> ------------------------------
> -------------------------------
> modparam("aaa_radius","sets',"set1 = (\
> User-Name=$rU, \
> Sip-Translated-Request-URI=$avp(i:107), \
> Sip-Source-IP-Address=$avp(i:108), \
> CALL-DIRECTION=$avp(i:3200), \
> Sip-Req-URI=$rd, \
> Sip-Uri-User-$fU, \
> Called-Station-Id=$tU, \
> Calling-Station-Id=$fU \
> )")
> -----------------------------------
> later in route logic of opensips.cfg
> ---------------------------------
> -----------------------------------
> route[3] #the route that gets all calls passed to it.
> {
> if(is_direction("downstream")) {
> avp_printf("$avp(I:108)","h323-remote-ip-address=$si");
> avp_printf("$avp(I:3200)","h323-call-origin=answer");
> }
> if(is_direction("upstream")) {
> avp_printf("$avp(I:108)","h323-remote-ip-address=$si");
> avp_printf("$avp(I:3200)","h323-call-origin=originate");
> }
> radius_send_acct("set1");
> }
> -------------------------------------
> in my custom dictionary
> ------------------------------------
> -----------------------------------
> ATTRIBUTE CALL-DIRECTION 3200 string
>
> #####################################
>
> both my Radiator4.2 and radiusclient point to the same dictionary
>
> when I look into detail files for radius the CALL-DIRECTION attribute
> is not there
>
> any help is much appreciated.
>
> thanks
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list