Re: [SR-Users] Billing party and radius accounting

2010-10-29 Thread Daniel-Constantin Mierla
Hello, On 10/28/10 6:53 PM, Efelin Novak wrote: 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 luc

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Efelin Novak
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 $d

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Efelin Novak
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 > Efelin Novak writes: > > > The request uri after redirect will be us...@another_domain. I have to > store > > the original request_uri(us...@my_d

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Juha Heinanen
Efelin Novak writes: > The request uri after redirect will be us...@another_domain. I have to store > the original request_uri(us...@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 befor

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Efelin Novak
The request uri after redirect will be us...@another_domain. I have to store the original request_uri(us...@my_domain) and after redirect, insert it to Billing Party header in radius message. I need UserC not to be aware of the redirect. In this case I have to make a new call to UserC. This call i

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Juha Heinanen
Efelin Novak writes: > thanks for answer. Yes, my server is proxy. Situation is like this: > > us...@domain --> us...@my_domain (redirect) > > us...@another_domain > > I have to bill call to another_domain to UserB. then you must make sure that your billing uri in the accounting rec

Re: [SR-Users] Billing party and radius accounting

2010-10-28 Thread Efelin Novak
Hello Juha thanks for answer. Yes, my server is proxy. Situation is like this: us...@domain --> us...@my_domain (redirect) > us...@another_domain I have to bill call to another_domain to UserB. Regards, Efelin 2010/10/27 Juha Heinanen > Efelin Novak writes: > > > I have a proble