[sr-dev] alias_contact()/handle_alias() ready for testing
Iñaki Baz Castillo
ibc at aliax.net
Mon Nov 9 12:56:25 CET 2009
El Lunes, 9 de Noviembre de 2009, Juha Heinanen escribió:
> Iñaki Baz Castillo writes:
> > There is a problem here as Record-Route are not needed for in-dialog
> > request (the proxy can add it but the UAS should ignore it as RR just
> > makes sense in the initial request and response forming the dialog).
>
> yes, i meant that the rr test would only be used on initial request.
>
> > What about calling alias_contact() just in case nat_test() detects the
> > following two requeriments:
> >
> > 1) The IP in Contact is private.
> > 2) There is no ";alias" param in Contact URI.
> >
> > Of course a new nat_test flag would be needed for point 2.
>
> i can add test (2) to alias_contact() function itself. but (1) is not
> enough, since alias_contact() definitely needs to be called also when
> request arrives over tcp.
If proxy B receives a TCP request from proxy A, why should proxy B call
alias_contact()?
Note that in-dialog request from proxy B to proxy A would be sent using route
set mechanism.
--
Iñaki Baz Castillo <ibc at aliax.net>
More information about the sr-dev
mailing list