Hello,

On 1/25/12 2:56 PM, 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.
an option - get the contact header from 302 in failure route via $T_rpl($ct). Use its uri to set $du.

Alternative, set onreply_route and if it is 302 reply, take the contact uri and add it in an avp. Use that avp in failure route.

Cheers,
Daniel

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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to