<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16853"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Hi guys,</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>I'm having some troubles with a NAT client.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>I have 2 phones (one NATed and one with valid 
IP).</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Making SIP calls between them, everything works fine, 
the problem starts when I'm trying to receive a call from the PSTN, the NATed 
client is giving me 401 Uanuthorized, but in the valid IP one, everything is 
working.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>I got this from my ngrep.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>U *.*.*.*:5060 -&gt; *.*.*.*:55225<BR>INVITE 
sip:1630751038@*.*.*.*:5062 SIP/2.0.<BR>Record-Route: 
&lt;sip:*.*.*.*;lr=on;did=5bf.4529821&gt;.<BR>Content-Type:application/sdp.<BR>To:sip:0151630751038@*.*.*.*.<BR>From:sip:1340101000@*.*.*.*;cpc=ordinary;tag=CC203030373433390080C9D0.<BR>Allow:INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,UPDATE,PRACK,REFER,SUBSCRIBE,NOTIFY.<BR>Supported:100rel.<BR>Expires:120.<BR>Date:Mon, 
07 Nov 2011 11:01:49 
GMT.<BR>Call-ID:0200CC52308140000000367E@TB007439_VOIP1.TB007439.<BR>CSeq:1 
INVITE.<BR>Max-Forwards:69.<BR>Timestamp:8440272.<BR>User-Agent:TB007439.<BR>Contact:sip:1340101000@*.*.*.*:5060.<BR>Via: 
SIP/2.0/UDP *.*.*.*;branch=z9hG4bKcef9.0ca191b4.0.<BR>Via:SIP/2.0/UDP 
*.*.*.*:5060;received=200.152.176.62;branch=z9hG4bKF6DBE15131EED68891B500A3455D133D;rport=5060.<BR>Content-Length: 
203.<BR>.<BR>v=0.<BR>o=tb640 5 1 IN IP4 *.*.*.*.<BR>s=-.<BR>c=IN IP4 
*.*.*.*.<BR>t=0 0.<BR>m=audio 61536 RTP/AVP 0 8 4 18 101 13.<BR>a=fmtp:4 
bitrate=6300;annexa=no.<BR>a=rtpmap:101 
telephone-event/8000.<BR>a=nortpproxy:yes.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV><FONT face=Calibri>
<DIV><BR>U *.*.*.*:55225 -&gt; *.*.*.*:5060<BR>SIP/2.0 401 
Unauthorized.<BR>To:sip:0151630751038@*.*.*.*;tag=7f18aab466db6f88i2.<BR>From:sip:1340101000@*.*.*.*;cpc=ordinary;tag=CC203030373433390080C9D0.<BR>Call-ID:0200CC52308140000000367E@TB007439_VOIP1.TB007439.<BR>CSeq:1 
INVITE.<BR>Via: SIP/2.0/UDP 
*.*.*.*;branch=z9hG4bKcef9.0ca191b4.0.<BR>Via:SIP/2.0/UDP 
*.*.*.*:5060;received=*.*.*.*;branch=z9hG4bKF6DBE15131EED68891B500A3455D133D;rport=5060.<BR>Record-Route: 
&lt;sip:*.*.*.*;lr=on;did=5bf.4529821&gt;.<BR>Timestamp:8440272.<BR>Server: 
Linksys/SPA942-5.1.15(a).<BR>WWW-Authenticate: Digest realm="*.*.*.*", 
nonce="178352f8", qop="auth", algorithm=md5.<BR>Content-Length: 
0.<BR>.<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>I have rtpproxy for NATed clients.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any clues?</DIV></FONT>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Eng.º Rodrigo Ferreira<BR>Supervisor de 
Telecomunicações<BR>Fone: (13) 4010-1037<BR>Cel: (13) 9615-7774<BR>VIPWay 
Serviços de Telecomunicações LTDA</FONT></DIV></BODY></HTML>