[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  Paul Chitescu <paulc@v...>
 Subject :  Re: [yate] Problem with NAT
 Date :  Wed, 9 Jun 2010 16:38:30 +0300
Hi!

I noticed in REGISTER you have:

 Via: SIP/2.0/UDP private-ip-called:5060;...

while in 200 OK:

 Via: SIP/2.0/UDP public-ip-NAT:5060;...

Please make sure you are capturing the packets in the same point of the 
network. Differences between packets sent by the phone and those received by 
Yate indicate an ALG which usually means trouble. The road to hell is paved 
with good intentions.

Please also look at:
http://yate.null.ro/archive/?action=show_msg&actionargs[]=52&actionargs[]=72

Regards,

Paul


On Wednesday 09 June 2010 04:21:03 pm Alfred Stainer wrote:
> Hi Paul,
> 
> [...]
> 
> The 200 OK response to register is:
> 
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> public-ip-NAT:5060;rport=5060;branch=z9hG4bK1672352019;received=public-ip-
NAT
> From: ;tag=1365752597
> To: ;tag=1375179334
> Call-ID: 338000745@public-ip-Yate
> CSeq: 20 REGISTER
> Expires: 600
> Contact: ;expires=600
> Server: MYSRVSIP/3.0.0
> Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
> Content-Length: 0
> 
> That not contains a X-Real-Contact field.
> 
> I'm using only IP address but in these emails, I have replaced it with
> mnemonic names (public-ip-Yate for example instead of real ip of Yate).
> 
> Thanks,
> 
> Alfred
> 
> [...]