[asterisk-dev] [Code Review] Properly route responses according to the Via headers in the request

Klaus Darilion klaus.mailinglists at pernau.at
Wed Dec 22 10:55:21 UTC 2010


>     On December 17th, 2010, 7:31 a.m., *Mark Michelson* wrote:
>
>         Not sure if you've already done this or not Matt, but you definitely need to follow the Via headers and not Record-Route for responses. The important thing is that the response goes through all SIP proxies that the request did.
>
> So should Via take precedence over Record-Route then?

Don't get confused.

Via -> Response Routing
Record-Route -> not routing, but learning a route-set
Route -> Request Routing
Request URI -> Request Routing in the absence of Route headers



More information about the asterisk-dev mailing list