[OpenSIPS-Users] radius fields

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Nov 6 11:36:19 CET 2008


chamo wrote:
> 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"
>   
Use $fu the get the entire FROM URI.

Regards,
Bogdan
> 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
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list