<!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.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Hi everybody,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I'm trying to configure * for 
make SIP calls. Now I'm doing several test but I have some errors.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Firstly I will&nbsp;describe my 
scenario.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Client Software&nbsp;&nbsp;(Private IP 
192.168.0.181, SJ Phone over Windows 2000) ---- Router Adsl (Public ip A.B.C.D, 
and NAPT on port 5060 to 192.168.0.181)&nbsp;----- FW+Router ----- Asterisk 
(Public IP E.F.G.H + e400p)------ Spain ISDN</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I make a call to my * server and 
this began a SIP (SDP) signaling comunication with Client SJ Phone, during 
signaling comunication all looks good. But when the client answer the call, the 
RTP media session began, I don't hear anything in noone of the two 
sides.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I have sniffed the traffic RTP 
and I see that asterisk send to my private IP, here you can see a log line of 
this trafic:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; <EM>From E.F.G.H:9056 To 
  192.168.0.181:16384</EM></FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Here you can see the my 
sip.conf.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial 
  size=2><U><STRONG><EM>sip.conf</EM></STRONG></U></FONT></DIV>
  <DIV><FONT face=Arial size=2><EM></EM></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><EM>[general]<BR>port = 
  5060&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ; Port to bind to<BR>bindaddr = 
  0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ; Address to bind to<BR>context = 
  default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ; Default for incoming calls<BR>allow = alaw<BR></EM></FONT></DIV>
  <DIV><FONT face=Arial size=2><EM></EM></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial 
  size=2><EM>[user1]<BR>type=friend<BR>secret=pass1<BR>host=A.B.C.D<BR>nat=yes</EM></FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; I 
dont know how can I told to * the public IP in the RTP stream, and how can I 
determin only one RTP port in order to make NAPT in adsl router.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
If somebody can help me&nbsp;I will be very pleasured. </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Thks 
a lot.</FONT></DIV></BODY></HTML>