Arnold Lee. wrote:
> Hi all
>
> UAc is behind a NAT. Can UAc set special ip address in its Via
> "received" parameter ? This special ip address is not NAT source
> address and my private address. There is a special BOX for NAT and
> it is not outbound proxy and NAT.
Traversal of SIP through nats in this case is well documented. Please see:
http://www.ietf.org/internet-drafts/draft-ietf-sip-nat-01.txt
it does not require the client to set the received parameter.
>
> According the 2543 bis, If it contains an IP address that differs
> form the packet source address, the server must add a "received"
> attribute to that Via header field. .............. if the top Via
> has a received parameter, send the response to the address in the
> "received" parameter.
>
> After all, the server must send reponse message to received packet
> source address. I want to process the "received" parameter like
> follow.
>
> 1) If it contains an IP address that differs form the packet source
> address and there is no "received" parameter in top most via
> header, the "received" parameter contain the source address.
>
> 2) If it contains an IP address that differs form the packet source
> address and there is a "received" parameter in top most via header,
> the server is no action.
It sounds like you want to force the server to send the response to a
particular IP address. I don't think that would help you with nat
traversal even if it were allowed, and its not. Please see the above
specification for details.
You might also want to take a look at:
http://www.ietf.org/internet-drafts/draft-rosenberg-midcom-stun-00.txt
-Jonathan R.
--
Jonathan D. Rosenberg, Ph.D. 72 Eagle Rock Avenue
Chief Scientist First Floor
dynamicsoft East Hanover, NJ 07936
[EMAIL PROTECTED] FAX: (973) 952-5050
http://www.jdrosen.net PH: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors