2011/7/7 Olle E. Johansson <o...@edvina.net>: > Well, the question is what to put in the Via header. You need something that > points back if you have transaction state in one of your proxys... The > received parameter helps with that. > You don't want to have IP addresses or host names in certs either. So > -without checking any RFCs - I think the via should contain a domain that's > valid in a cert and the received header points back to the proxy that > actually sent the message.
WOW, I missed that in case of sending responses via TCP/TLS (and the initial connection is lost): If that connection is no longer open, the server SHOULD open a connection to the IP address in the "received" parameter, if present, using the port in the "sent-by" value So it must use the received param which will always be an IP (if the Via sent-by of the request was a domain, then the server MUST add ;received=SOURCE_IP). Then it becomes easier :) -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors