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

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


On 01/12/14 11:04, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> I think the best way is to extend $T_branch(...) class of pvs to have
>> $T_branch(ruri), or maybe even $T_branch($pv) and have $T_branch($ru)
>> for what you need.
> $T_branch(ruri) or $T(ruri) would be fine to me.
>
> it is very strange that no-one has so far been interested in where
> calls get routed to.
>
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.

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...

Daniel

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




More information about the sr-users mailing list