[SR-Users] how to access request uri of answering branch?

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 1 11:27:31 CET 2014


On 01/12/14 11:22, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> I most of the case I need the source ip and port of the reply, all
>> related to the r-uri is handled in branch_route.
> how can you set translated request uri accounting attribute in branch
> route when the call is parallel forked?  ip and port of the reply do not
> tell which aor the call went.
>
>> And indeed, give that you are one of the first people using SER, it took
>> a long time for someone to need this attribute while processing the reply...
> i had a bug in my config.  it didn't set translated request uri
> accounting attribute correctly when call is parallel forked.  when i
> started to investigate, it turned out that there was no easy way to fix
> the bug.
Accounting module takes the r-uri from winning branch, afaik -- if you
account $ru via acc *_extra parameter.

Daniel


-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list