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'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? 

Regards,

Efelin
2010/10/28 Efelin Novak <efelin.novak@gmail.com>
O, actually I have just found out that variables are stored across whole call. Thank you for your answers.

Regards,
Efelin

2010/10/28 Juha Heinanen <jh@tutpro.com>
Efelin Novak writes:


> The request uri after redirect will be UserC@another_domain. I have to store
> the original request_uri(UserB@my_domain) and after redirect, insert it to
> Billing Party header in radius message.

yes, i had a typo in my answer.  you, of course, need to use request uri
before redirect as your billing uri.  i wonder why you asked, when you
knew the answer yourself.

-- juha