<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi all:</FONT></DIV>
<DIV><FONT size=2>I am trying ser + nat module + rtpproxy </FONT></DIV>
<DIV><FONT size=2>case&nbsp;1</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>UA 1 
---------------NAT1------------------ser/rtpproxy-------------NAT2---------------------UA2</FONT></DIV>
<DIV><FONT 
size=2>192.168.4.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;61.228.9.233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
61.228.9.66&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
61.228.23.191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
192.168.2.10</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>rtpproxy run as rtpproxy,UA1 call UA2</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>
<DIV><FONT size=2>case&nbsp;2</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>UA 1 
---------------NAT1------------------ser/rtpproxy-------------NAT2---------------------UA2</FONT></DIV>
<DIV><FONT 
size=2>192.168.4.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;61.228.9.233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
61.228.9.66&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
61.228.23.191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
192.168.2.10</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>UA1 call UA2</FONT></DIV></FONT></DIV>
<DIV><FONT size=2>rtpproxy -l "61.228.9.66/192.168.5.1"&nbsp;&nbsp; 
</FONT></DIV>
<DIV><FONT size=2>(bridge mode)</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>In case 1,when UA1 send ACK ,UA1 start sends rtp packet&nbsp; 
. and UA2 still not send</FONT></DIV>
<DIV><FONT size=2>rtpproxy will send to the port which UA2 original request in 
his SDP (like 1034)</FONT></DIV>
<DIV><FONT size=2>Obviously it's not correctly, and will be discard by 
NAT2</FONT></DIV>
<DIV><FONT size=2>but after UA2 start send rtp packet&nbsp;to rtpproxy , 
rtpproxy will fix the correct port to send UA1's packet to&nbsp; 
NAT2</FONT></DIV>
<DIV><FONT size=2>so NAT2 will relay it to UA2</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>But in case 2, after UA2 start send rtp packet to 
rtpproxy,rtpproxy&nbsp;did not&nbsp;fix the correct port, so rtpproxy still send 
UA1's rtp packet to incorrect port to NAT2</FONT></DIV>
<DIV><FONT size=2>and the packet&nbsp;is discard by NAT2 ,&nbsp;UA2 can't 
receive&nbsp;UA1's rtp packet</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Is this a bug? or something i need to configure more correctly 
?</FONT></DIV>
<DIV><FONT size=2>Can anyone give me any idea about these ?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thanks in advanced </FONT></DIV>
<DIV><FONT size=2>Jimmy</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV></BODY></HTML>