<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hello Juha<div><br></div><div>thanks for answer. Yes, my server is proxy. Situation is like this:</div>
<div><br></div><div>UserA@domain ------&gt; UserB@my_domain (redirect) --------&gt; UserC@another_domain</div><div><br></div><div>I have to bill call to another_domain to UserB.</div><div><br></div><div>Regards,</div><div>
<br></div><div>Efelin</div></span><br><div class="gmail_quote">2010/10/27 Juha Heinanen <span dir="ltr">&lt;<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Efelin Novak writes:<br>
<br>
&gt; I have a problem with setting billing party in my radius messages. My<br>
&gt; accounting is done by CDRTool via radius messages to radius server. The<br>
&gt; thing I don`t know is how to set billing party variable (by default<br>
&gt; $avp(s:billing_party) with reliable value. I can try adding Diversion header<br>
&gt; and fill the variable with it, but can I trust the Diversion header? When<br>
&gt; UAC sets redirect(302) and Invite comes, he replies 302 and Kamailio passes<br>
&gt; this message to origin. However is it possible to change Diversion header by<br>
&gt; UAC? This could be way how to make free calls and bill it to someone<br>
&gt; else.<br>
<br>
</div>you bill the uac who sends an invite that results to 200 ok reply,<br>
not the party that replies with 302 (unless your proxy converts 302 to<br>
invite in which case you bill the uas).<br>
<font color="#888888"><br>
-- juha<br>
</font></blockquote></div><br>