[OpenSIPS-Users] Fixing the Contact Header for NAT
Juan Backson
juanbackson at gmail.com
Fri Nov 28 13:16:25 CET 2008
Hi Inaki,
Using wireshark in the nated client's box, I can see that it is getting the
200OK, but the client is not sending the ACK back. I am kind of clueless on
why it is happening like that. What do you think maybe causing this
problem? Here is teh 200OK the nated client is getting:
VV!'DEN@:S=d(J:SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.100:10314;received=121.15.89.95
;branch=z9hG4bK-d87543-822f892d753fdb57-1--d87543-;rport=10152
Record-Route: <sip:192.168.1.101;lr=on;ftag=795a0d32;nat=yes>
From: "1000" <sip:1000 at 233.32.345.5:5060>;tag=795a0d32
To: "0" <sip:0 at 233.32.345.5:5060>;tag=c90BpypDcDXZc
Call-ID: MDFjZjk0ZjIyYjQ4MTU4NWUxNjEzYjc0MmI0MWU5ZWE.
CSeq: 2 INVITE
Contact: <sip:mod_sofia at 233.32.345.5:5800;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-10454M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Allow-Events: talk
Session-Expires: 120;refresher=uas
Min-SE: 120
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 269
v=0
o=FreeSWITCH 5749698493361694539 8708172188234254362 IN IP4 233.32.345.5
s=FreeSWITCH
c=IN IP4 61.141.158.178
t=0 0
m=audio 15000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
On Thu, Nov 27, 2008 at 11:10 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> El Jueves, 27 de Noviembre de 2008, Juan Backson escribió:
>
> The UAC receive this 200 OK:
>
> Record-Route: <sip:192.168.1.101;lr=on;ftag=b81a6b5e;nat=yes>.
> Contact: <sip:mod_sofia at 233.32.345.5:5800;transport=udp>.
>
> So this will create an ACK:
>
> ACK sip:mod_sofia at 233.32.345.5:5800;transport=udp SIP/2.0
> Route: <sip:192.168.1.101;lr=on;ftag=b81a6b5e;nat=yes>
>
> So this ACK will be sent to 192.168.1.101 (OpenSIPS), and OpenSIPS will
> forward it to 233.32.345.5:5800.
> Can you verify if this ACK is doing that?
>
>
>
> --
> Iñaki Baz Castillo
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081128/41d60611/attachment-0001.htm
More information about the Users
mailing list