[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 11:32:56 UTC 2010



Am 16.12.2010 18:29, schrieb Matthew Nicholson:
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1059/
>
>
> Review request for Asterisk Developers. By Matthew Nicholson.
>
>
> Description
>
> This patch makes asterisk respect the Via headers in a request when
> responding to it. This is necessary in the even that a stateless
> proxy is in between asterisk and the requester.

Sorry for jumping in that late. It would be good if the description 
would be useful - thus, describing what the current (broken?) behavior 
is and how the new (fixed) behavior work.

I really wonder what is the problem with the current behavior.

 > Without this patch,
 > the response is simply routed back to the address we received the
 > initial request from.

Really? I often use proxies between Asterisk and the SIP clients and 
never had any issues - responses were always routed correctly

Please describe in more detail the problem with the old and new behavior.

thanks
Klaus

PS: Maybe you wanted to say "transparent" proxy instead of "stateless"? 
If a proxy is stateless, transaction statefull or dialog statefull does 
in no way influence the routing of the SIP messages.



More information about the asterisk-dev mailing list