Hi,
most probably the reason is your are not performing properly from script the NAT traversal for sequential request (especially for INVITE).
to be sure that;s the case you may try using rtpproxy for all cases (nated or not) to see if this solves your problem.
regards, bogdan
danish.samad@vocalseeds.com wrote:
Hi,
I am trying to deploy a openser solution supporting NAT traversal. So far I have dome some testing with rtpproxy and have yet to look into the media proxy solution. I have IP Phones that support both audio and video calls and as a requirement the setup should be able to do NAT traversal for both audio and video streams.
Initially two phones connect with only audio streams active. Any side can activate a video request in which case a reinvite is sent to the other side indicating video codecs in the SDP. In case, any one or both sides are nated the server should rewrite SDP port to route traffic through itself. I tried to use a config with nathelper and rtpproxy, Initially audio ports and IP in the SDP are rewritten correctly but when one phone sends a reinvite for video the video port in the 200OK reply message is not rewritten and is sent as received. This results in the video being sent to an incorrect port on the server (running rtpporxy) and therefore no video is relayed.