[OpenSER-Users] Radius accounting

Ovidiu Sas osas at voipembedded.com
Sun Mar 2 17:59:32 CET 2008


The radius implementation will convert an integer into a string and it
will send the string out.
Please check the report carefully.

You are sending a string out (SIP-Proxy-IP is a string).
The issue is when you want to sent an _integer_ out.  Check the
mailing list archive as this issue was discussed before.


Regards,
Ovidiu Sas

On Sun, Mar 2, 2008 at 11:32 AM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> El Domingo, 2 de Marzo de 2008, Ovidiu Sas escribió:
>
> > The current radius implementation doesn't handle integer AVPs (it
>  > handles only string AVPs).
>  > Pls check:
>  > http://sourceforge.net/tracker/index.php?func=detail&aid=1703003&group_id=1
>  >39143&atid=743023 You may try to workaround this by storing the source port
>  > into a string AVP.
>
>  At least in OpenSer 1.3 svn 3733 I can use integer AVP's in radius
>  extra-accounting:
>
>   modparam("acc", "radius_extra", SIP-Proxy-IP=$avp(i:28);
>
>  Also note that Henri is not using AVP's but pseudovariables $si and $sp.
>
>
>  --
>  Iñaki Baz Castillo
>
>
>
>  _______________________________________________
>  Users mailing list
>  Users at lists.openser.org
>  http://lists.openser.org/cgi-bin/mailman/listinfo/users
>




More information about the sr-users mailing list