<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Courier size=1>Hi,</FONT></DIV>
<DIV><FONT face=Courier size=1>I have a SER + Mediaproxy. I have not any problem 
the call between SIP clients (behind or not the NATs) </FONT></DIV>
<DIV><FONT face=Courier size=1>but when I try to call to PSTN (via cisco) I only 
have RTP traffic from SIP client to PSTN. </FONT></DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>Summarizing, the path of rtp traffic would have 
to be from: </FONT></DIV>
<DIV><FONT><FONT face=Arial size=2></FONT><BR><FONT face=Courier 
size=1>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; up:&nbsp;&nbsp;&nbsp; SIP Client 
----&gt; SER ---&gt; GW-PSTN<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
down:&nbsp;&nbsp;SIP Client &lt;---- SER &lt;--- GW-PSTN</FONT></FONT></DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>but, really is:</FONT></DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
up:&nbsp;&nbsp;&nbsp; SIP Client ----&gt; SER ---&gt; 
GW-PSTN<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; down:&nbsp;&nbsp;SIP Client 
&lt;------------- GW-PSTN</FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=Courier size=1>I use the command:</FONT></DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>&nbsp;&nbsp;&nbsp; 
&nbsp;rewritehostport("212.xxx.xxx.xxx:5060");</FONT></DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>when I match a geographic number.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>The complete scheme is:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>&nbsp;&nbsp;&nbsp;&nbsp;SIP Client ---- NAT 
--------- SER+Mediaproxy -------- SIP Server --- GWPSTN</FONT></DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>Some idea?<BR></FONT></DIV>
<DIV><FONT face=Courier size=1>Thanks,</FONT></DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1>--</FONT></DIV>
<DIV><FONT face=Courier size=1>Alberto</FONT></DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=1></FONT>&nbsp;</DIV></BODY></HTML>