[OpenSIPS-Users] radius fields

chamo chamo4 at darksun.sk
Wed Nov 5 16:09:24 CET 2008


well,
what i need are these fields for accounting (i do it from radius thru
cdrtool)
        User-Name = "02xxxxxxxx at xx.xx.xx.xx"
        Calling-Station-Id = "sip:02xxxxxxxx at xx.xx.xx.xx"
        Called-Station-Id = "sip:04xxxxxxxx at xx.xx.xx.xx"
        Sip-Translated-Request-URI =
"sip:AA004214xxxxxxxx8 at xx.xx.xx.yy:5060"
i tried something like this
modparam("acc", "radius_extra", "User-Name=$fU")
but in radius i get only
User-Name = "62.176.161.30"

i use also logging in acc database on localhost, this works ok
modparam("acc","db_extra","sip_from=$fU;sip_to=$rU;sipip_from=$si;sipip_to=$Ri")

thanks






More information about the Users mailing list