[Kamailio-Users] CDR / EDR Accounting With Kamailio
Juha Heinanen
jh at tutpro.com
Sat May 2 07:56:08 CEST 2009
Brandon Armstead writes:
> I'm trying to account for internal calls, i.e. example scenarios such as:
>
> UA1 and UA2 are both on P1
>
> UA1 calls UA2 so, effectively: UA1 -> P1 -> UA2
>
> Now the problem I'm running into is with the direction of the calls, I am
> having trouble accounting for both sides of the call, i.e. I store an avp
> such as: $avp(s:account-id)
you can define, for example:
modparam("acc", "radius_extra","User-Name=$avp(caller_username);Callee-User-Name=$avp(callee_username));
-- juha
More information about the Users
mailing list