View Single Post
Unread 02-17-2009, 07:46 PM   #15
boatman
Senior Member
 
boatman's Avatar
 
Join Date: Jul 2007
Location: Oregon, USA
Posts: 365
Thanks: 17
Thanked 77 Times in 64 Posts
boatman is on a distinguished road
Default

Quote:
Originally Posted by green View Post
Not exactly. You have no control on the WAN side of your NAT router. External port will be selected by the router on it's own, basing on it's internal algorithm. It will be either the same as the private source port (port is preserved) or it will be randomly chosen (port is random).
None of my NAT routers change the port number when the port has been forwarded, they all preserve the port number. My "from port" is 5060 on both sides of my router. It's easy to check using Wireshark, or I can look at the rport response from any normal SIP UA.

Quote:
Originally Posted by green View Post
There is no problem with either SIP UA or router.
SIP UA is not returning rport=1024, provider's proxy is doing that! SIP UA is only indicating it's capabilities using rport with no value.
During my test there were no packets sent to or from any proxy, it was a direct connection between my UA and that of MarkosJal.
boatman is offline   Reply With Quote