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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users