Unfortunately I was wrong about variables ($var). They are same across whole kamailio process. Neither $avp is good for me as they are transaction aware. I need to store variable in the current dialog. I was looking into dialog module, but no luck. I wasn&#39;t able to make dialog variables $dlg and $dlg-ctx work. Are they appropriate in this situation? Can you please give here some examples how to use them in configuration file? <div>
<br></div><div>Regards,</div><div><br></div><div>Efelin<br><div class="gmail_quote">2010/10/28 Efelin Novak <span dir="ltr">&lt;<a href="mailto:efelin.novak@gmail.com">efelin.novak@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
O, actually I have just found out that variables are stored across whole call. Thank you for your answers.<div><br></div><div>Regards,</div><div>Efelin<br><br><div class="gmail_quote"><div class="im">2010/10/28 Juha Heinanen <span dir="ltr">&lt;<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>&gt;</span><br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Efelin Novak writes:<div><div></div><div class="h5"><br>
<br>
&gt; The request uri after redirect will be UserC@another_domain. I have to store<br>
&gt; the original request_uri(UserB@my_domain) and after redirect, insert it to<br>
&gt; Billing Party header in radius message.<br>
<br>
</div></div></div><div><div></div><div class="h5">yes, i had a typo in my answer.  you, of course, need to use request uri<br>
before redirect as your billing uri.  i wonder why you asked, when you<br>
knew the answer yourself.<br>
<font color="#888888"><br>
-- juha<br>
</font></div></div></blockquote></div><br></div>
</blockquote></div><br></div>