Thank you very much Juha. The radius server is out my control So I'm
going to install SER from the sources instead of the Debian repository
and I'm going to modify the acc.c fmtstrar() function.
Regards
Alberto Cruz
Juha Heinanen wrote:
Alberto Cruz writes:
> I have a licensed billing application that
is expecting to receive the
> "calling-from" and "calling-to" values like in a number format
in
> order to apply the rates this mean:
> if "calling-from" or "calling-to" value is 836572345(a)sip.domain
the
> billing application needs to receive 836572345 without the @sip.domain
> in order to apply the rate for this number.
i can extract user part of from/to uri at your radius server when it
receives the accounting packet and writes it to database.
if radius server is not in your control, you would need to modify acc.c
fmt2strar() function.
-- juha