[SR-Users] redirect client to keep original ruri

Alex Balashov abalashov at evaristesys.com
Wed Jan 25 15:18:57 CET 2012


On 01/25/2012 08:56 AM, Andrew Pogrebennyk wrote:

> Hello,
> assuming that I want to use contact from 302 response as outbound proxy
> but keep the original Request-URI, what should I do? Calling the
> revert_uri() after get_redirects() in failure_route doesn't do the trick.

Put the 302 Contact URI in the destination set instead, i.e. $du, not 
$ru.  That will cause it to be relayed to the redirect destination on 
the network and transport level, but the logical target will remain 
the same.

-- 
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list