[OpenSIPS-Users] NAT Problem using Nat helper
Ahmed Munir
ahmedmunir007 at gmail.com
Fri Apr 30 08:13:14 CEST 2010
Hi.
Thanks for your reply, the traces are metioned below;
U 203.215.176.22:55134 -> 11.22.33.44:5060
.
.
..............
U 81.201.82.45:5060 -> 11.22.33.44:5060
INVITE sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44> SIP/2.0.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 INVITE.
From: "4572727220" <sip:4572727220 at voxbone.com<sip%3A4572727220 at voxbone.com>
>;tag=43772.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>.
Via: SIP/2.0/UDP 81.201.82.45:5060
;branch=z9hG4bKdb42364564e21b159baaa8a741307ca0.
Max-Forwards: 69.
Content-Type: application/sdp.
Contact: <sip:4572727220 at 81.201.82.45:5060;transport=udp>.
User-Agent: Vox Callcontrol.
Content-Length: 210.
.
v=0.
o=root 13293 13293 IN IP4 81.201.82.146.
s=session.
c=IN IP4 81.201.82.146.
t=0 0.
m=audio 11458 RTP/AVP 8 0.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.
U 11.22.33.44:5060 -> 81.201.82.45:5060
SIP/2.0 100 Giving a try.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 INVITE.
From: "4572727220" <sip:4572727220 at voxbone.com<sip%3A4572727220 at voxbone.com>
>;tag=43772.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>.
Via: SIP/2.0/UDP 81.201.82.45:5060
;branch=z9hG4bKdb42364564e21b159baaa8a741307ca0;rport=5060.
Server: OpenSIPS (1.6.1-notls (i386/linux)).
Content-Length: 0.
.
U 11.22.33.44:5060 -> 203.215.176.22:55134
INVITE sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26 SIP/2.0.
Record-Route: <sip:11.22.33.44;lr=on>.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 INVITE.
From: "4572727220" <sip:4572727220 at voxbone.com<sip%3A4572727220 at voxbone.com>
>;tag=43772.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>.
Via: SIP/2.0/UDP 11.22.33.44;branch=z9hG4bK1c7c.78b70285.0.
Via: SIP/2.0/UDP 81.201.82.45:5060
;rport=5060;received=81.201.82.45;branch=z9hG4bKdb42364564e21b159baaa8a741307ca0.
Max-Forwards: 68.
Content-Type: application/sdp.
Contact: <sip:4572727220 at 81.201.82.45:5060;transport=udp>.
User-Agent: Vox Callcontrol.
Content-Length: 210.
P-hint: usrloc applied.
.
v=0.
o=root 13293 13293 IN IP4 81.201.82.146.
s=session.
c=IN IP4 81.201.82.146.
t=0 0.
m=audio 11458 RTP/AVP 8 0.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.
U 203.215.176.22:55134 -> 11.22.33.44:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 11.22.33.44;branch=z9hG4bK1c7c.78b70285.0.
Via: SIP/2.0/UDP 81.201.82.45:5060
;rport=5060;received=81.201.82.45;branch=z9hG4bKdb42364564e21b159baaa8a741307ca0.
Record-Route: <sip:11.22.33.44;lr>.
Contact: <sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26>.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
From: "4572727220"<sip:4572727220 at voxbone.com <sip%3A4572727220 at voxbone.com>
>;tag=43772.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 INVITE.
User-Agent: X-Lite release 1104o stamp 56125.
Content-Length: 0.
.
U 11.22.33.44:5060 -> 81.201.82.45:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 81.201.82.45:5060
;rport=5060;received=81.201.82.45;branch=z9hG4bKdb42364564e21b159baaa8a741307ca0.
Record-Route: <sip:11.22.33.44;lr>.
Contact: <sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26;nat=yes>.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
From: "4572727220"<sip:4572727220 at voxbone.com <sip%3A4572727220 at voxbone.com>
>;tag=43772.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 INVITE.
User-Agent: X-Lite release 1104o stamp 56125.
Content-Length: 0.
.
U 203.215.176.22:55134 -> 11.22.33.44:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 11.22.33.44;branch=z9hG4bK1c7c.78b70285.0.
Via: SIP/2.0/UDP 81.201.82.45:5060
;rport=5060;received=81.201.82.45;branch=z9hG4bKdb42364564e21b159baaa8a741307ca0.
Record-Route: <sip:11.22.33.44;lr>.
Contact: <sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26>.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
From: "4572727220"<sip:4572727220 at voxbone.com <sip%3A4572727220 at voxbone.com>
>;tag=43772.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Content-Type: application/sdp.
User-Agent: X-Lite release 1104o stamp 56125.
Content-Length: 130.
.
v=0.
o=- 2 2 IN IP4 192.168.0.168.
s=CounterPath X-Lite 3.0.
c=IN IP4 192.168.0.168.
t=0 0.
m=audio 1876 RTP/AVP 8 0.
a=sendrecv.
U 11.22.33.44:5060 -> 81.201.82.45:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 81.201.82.45:5060
;rport=5060;received=81.201.82.45;branch=z9hG4bKdb42364564e21b159baaa8a741307ca0.
Record-Route: <sip:11.22.33.44;lr>.
Contact: <sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26;nat=yes>.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
From: "4572727220"<sip:4572727220 at voxbone.com <sip%3A4572727220 at voxbone.com>
>;tag=43772.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Content-Type: application/sdp.
User-Agent: X-Lite release 1104o stamp 56125.
Content-Length: 130.
.
v=0.
o=- 2 2 IN IP4 192.168.0.168.
s=CounterPath X-Lite 3.0.
c=IN IP4 192.168.0.168.
t=0 0.
m=audio 1876 RTP/AVP 8 0.
a=sendrecv.
U 81.201.82.45:5060 -> 11.22.33.44:5060
ACK sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26;nat=yes
SIP/2.0.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 ACK.
From: "4572727220" <sip:4572727220 at voxbone.com<sip%3A4572727220 at voxbone.com>
>;tag=43772.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
Via: SIP/2.0/UDP 81.201.82.45:5060
;branch=z9hG4bKb10281cafd7849f7565fbfda2b5951fd.
Max-Forwards: 69.
Contact: <sip:4572727220 at 81.201.82.45:5060;transport=udp>.
Route: <sip:11.22.33.44;lr>.
User-Agent: Vox Callcontrol.
Content-Length: 0.
.
U 11.22.33.44:5060 -> 203.215.176.22:55134
ACK sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26 SIP/2.0.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 102 ACK.
From: "4572727220" <sip:4572727220 at voxbone.com<sip%3A4572727220 at voxbone.com>
>;tag=43772.
To: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
Via: SIP/2.0/UDP 11.22.33.44;branch=z9hG4bK1c7c.78b70285.2.
Via: SIP/2.0/UDP 81.201.82.45:5060
;rport=5060;received=81.201.82.45;branch=z9hG4bKb10281cafd7849f7565fbfda2b5951fd.
Max-Forwards: 68.
Contact: <sip:4572727220 at 81.201.82.45:5060;transport=udp>.
User-Agent: Vox Callcontrol.
Content-Length: 0.
.
U 11.22.33.44:5060 -> 203.215.176.22:55134
....
U 203.215.176.22:55134 -> 11.22.33.44:5060
.
.
..............
U 203.215.176.22:55134 -> 11.22.33.44:5060
BYE sip:4572727220 at 81.201.82.45:5060;transport=udp SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.168:55134
;branch=z9hG4bK-d8754z-cf10f40220676576-1---d8754z-;rport.
Max-Forwards: 70.
Route: <sip:11.22.33.44;lr>.
Contact: <sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26>.
To: "4572727220"<sip:4572727220 at voxbone.com <sip%3A4572727220 at voxbone.com>
>;tag=43772.
From: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 2 BYE.
User-Agent: X-Lite release 1104o stamp 56125.
Reason: SIP;description="User Hung Up".
Content-Length: 0.
.
U 11.22.33.44:5060 -> 81.201.82.45:5060
BYE sip:4572727220 at 81.201.82.45:5060;transport=udp SIP/2.0.
Via: SIP/2.0/UDP 11.22.33.44;branch=z9hG4bK529a.32cc52a.0.
Via: SIP/2.0/UDP 192.168.0.168:55134
;received=203.215.176.22;branch=z9hG4bK-d8754z-cf10f40220676576-1---d8754z-;rport=55134.
Max-Forwards: 69.
Contact: <sip:4004 at 203.215.176.22:55134;rinstance=25bfe05618433c26;nat=yes>.
To: "4572727220"<sip:4572727220 at voxbone.com <sip%3A4572727220 at voxbone.com>
>;tag=43772.
From: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 2 BYE.
User-Agent: X-Lite release 1104o stamp 56125.
Reason: SIP;description="User Hung Up".
Content-Length: 0.
.
U 81.201.82.45:5060 -> 11.22.33.44:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 11.22.33.44;branch=z9hG4bK529a.32cc52a.0,SIP/2.0/UDP
192.168.0.168:55134
;received=203.215.176.22;branch=z9hG4bK-d8754z-cf10f40220676576-1---d8754z-;rport=55134.
To: "4572727220" <sip:4572727220 at voxbone.com <sip%3A4572727220 at voxbone.com>
>;tag=43772.
From: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 2 BYE.
Content-Length: 0.
.
U 11.22.33.44:5060 -> 203.215.176.22:55134
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.0.168:55134
;received=203.215.176.22;branch=z9hG4bK-d8754z-cf10f40220676576-1---d8754z-;rport=55134.
To: "4572727220" <sip:4572727220 at voxbone.com <sip%3A4572727220 at voxbone.com>
>;tag=43772.
From: <sip:1234567 at 11.22.33.44 <sip%3A1234567 at 11.22.33.44>>;tag=611cee1e.
Call-ID: NMXRPJIPEJFWXKQQ3A75ZD3CZQ at 81.201.82.45.
CSeq: 2 BYE.
Content-Length: 0.
.
Date: Thu, 29 Apr 2010 19:34:16 -0300
> From: Antonio Anderson Souza <antonio at voicetechnology.com.br>
> Subject: Re: [OpenSIPS-Users] NAT Problem using Nat helper
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID:
> <s2o285c24cc1004291534m1deec8c4zb6c4ddb0033114b6 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Ahmed,
>
> Could you send an wireshark trace to the list? It will be easier to check
> what's going wrong.
>
> Besta regards,
>
> Antonio Anderson M. Souza
> Voice Technology
> http://www.antonioams.com
>
> Em 29/04/2010 11:47, "Ahmed Munir" <ahmedmunir007 at gmail.com>escreveu:
>
>
> Hi,
>
> I've configured OpenSIPs with FreeRadius, the version for OpenSIPs I'm
> using
> is 1.6.1 and FreeRadius verison is update 2 date. When I register 2
> sofphone, they got authenticated and authorized by radius and got
> registered sucessfully. Even I made calls between two softphone
> sucessfully(Can hear one another). The UAS configured on different network
> means hosted with public IP and my softphones are registered other and
> NATed
> network. I mapped a DID on UAS and mapped it on my one of my softphone. The
> problem I'm facing is when call coming from DID and ring my phone the
> caller
> can hear me but I can't hear the caller(one way calling issue). But not
> facing the problem on when calling between to sip clients and also calling
> from OpenSIPs to Asterisk. The configuration and cases for OpenSIPs is
> listed down below;
>
>
> UAC--------------> UAS(OpenSIPs) --------------------->
> UAC two way voice is establised
> UAC--------------> UAS(OpenSIPs) ---------------------> Asterisk
> --------------------> UAC two way voice is establised
> PSTN--------------> UAS(OpenSIPs)
> ---------------------> UAC one way
> voice is establised
> (hears the dest voice) (can't hear caller
> voice)
>
>
>
>
>
> Kindly help me out with this problem, in which other section Natting is
> required?(or am I missing something in the configuration?) Please assist
> me
> on it.
> --
> Regards,
>
> Ahmed Munir
>
>
>
> _______________________________________________
> 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/20100429/84192485/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> End of Users Digest, Vol 21, Issue 146
> **************************************
>
--
Regards,
Ahmed Munir
--
Regards,
Ahmed Munir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100430/fa9369f4/attachment-0001.htm
More information about the Users
mailing list