[SR-Users] Billing party and radius accounting

Efelin Novak efelin.novak at gmail.com
Thu Oct 28 14:35:12 CEST 2010


Hello Juha

thanks for answer. Yes, my server is proxy. Situation is like this:

UserA at domain ------> UserB at my_domain (redirect) -------->
UserC at another_domain

I have to bill call to another_domain to UserB.

Regards,

Efelin

2010/10/27 Juha Heinanen <jh at tutpro.com>

> Efelin Novak writes:
>
> > I have a problem with setting billing party in my radius messages. My
> > accounting is done by CDRTool via radius messages to radius server. The
> > thing I don`t know is how to set billing party variable (by default
> > $avp(s:billing_party) with reliable value. I can try adding Diversion
> header
> > and fill the variable with it, but can I trust the Diversion header? When
> > UAC sets redirect(302) and Invite comes, he replies 302 and Kamailio
> passes
> > this message to origin. However is it possible to change Diversion header
> by
> > UAC? This could be way how to make free calls and bill it to someone
> > else.
>
> you bill the uac who sends an invite that results to 200 ok reply,
> not the party that replies with 302 (unless your proxy converts 302 to
> invite in which case you bill the uas).
>
> -- juha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101028/7ff396c1/attachment-0001.htm>


More information about the sr-users mailing list