openser is not behind my NAT (see the dump, it has a public IP),
wouldn't that defeat the purpose of nathelper? one of my clients is
behind the NAT, the other isn't. some of the SDP flags appear to be
correct, but I myself am still new enough to SIP that i can't tell what
my SDP flags should be like coming out of the openser box. it appears to
be correct, could you please take a look at the dump and tell me what
specific transactions are causing it to fail?
ben
raviprakash sunkara wrote:
Hi
did U Check the sdp flags, nathelper modules in fixed_nated_sdp and
force_rtp_proxy flag,,,,,,,
time interval to alive the natter..............
is ur OpenSER is Behind the NAT, and Urs Users are also in Behind NAT
On 4/19/07, *Ben Racher* <mack.stout(a)gmail.com
<mailto:mack.stout@gmail.com>> wrote:
I'm trying to use openser's (1.1.1) default nathelper.cfg to
connect two
ekiga clients. One is behind a NAT. Both can contact each other,
but the
media streams (neither video nor audio) don't seem to be setup for
some
reason. rtpproxy registers that it should setup the connection, but it
doesn't seem to take off past that.
here's an ngrep dump of the NAT'd client calling the other, and could
appreciate some wisdom on what I need to fix and what the problem is.
thanks.
--------
U 2006/04/20 00:11:09.663917 209.91.15.175:5071
<http://209.91.15.175:5071> -> 209.91.15.110:5060
<http://209.91.15.110:5060>
INVITE sip:test@209.91.15.110 <mailto:sip:test@209.91.15.110> SIP/2.0.
Date: Thu, 19 Apr 2007 04:44:30 GMT.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP
192.168.0.25:5071
<http://192.168.0.25:5071>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport.
User-Agent: Ekiga/2.0.3.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110 <mailto:sip:test@209.91.15.110>>.
Contact: <sip:test_store@192.168.0.25:5071;transport=udp>.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Type: application/sdp.
Content-Length: 227.
Max-Forwards: 70.
.
v=0.
o=- 1176957870 1176957870 IN IP4 192.168.0.25 <http://192.168.0.25>.
s=Opal SIP Session.
c=IN IP4 192.168.0.25 <http://192.168.0.25>.
t=0 0.
m=audio 5006 RTP/AVP 101.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
m=video 5008 RTP/AVP 31.
a=rtpmap:31 H261/90000.
U 2006/04/20 00:11:09.673012 209.91.15.110:5060
<http://209.91.15.110:5060> -> 209.91.15.175:5071
<http://209.91.15.175:5071>
SIP/2.0 100 trying -- your call is important to us.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP
192.168.0.25:5071
<http://192.168.0.25:5071>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071;received=209.91.15.175
<http://209.91.15.175>.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: < sip:test@209.91.15.110 <mailto:sip:test@209.91.15.110>>.
Server: OpenSer (1.1.1-notls (i386/linux)).
Content-Length: 0.
Warning: 392 209.91.15.110:5060 <http://209.91.15.110:5060> "Noisy
feedback tells: pid=4047
req_src_ip= 209.91.15.175 <http://209.91.15.175> req_src_port=5071
in_uri=sip:test@209.91.15.110 <mailto:sip:test@209.91.15.110>
out_uri=sip:test@209.91.15.19:5074;transport=udp via_cnt==1".
.
U 2006/04/20 00:11:09.673822 209.91.15.110:5060
<http://209.91.15.110:5060> -> 209.91.15.19:5074
<http://209.91.15.19:5074>
INVITE sip:test@209.91.15.19:5074;transport=udp SIP/2.0.
Record-Route:
<sip:209.91.15.110
<http://209.91.15.110>;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000>.
Date: Thu, 19 Apr 2007 04:44:30 GMT.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP 209.91.15.110
<http://209.91.15.110>;branch=z9hG4bK393e.770a5756.0.
Via: SIP/2.0/UDP
192.168.0.25:5071
<http://192.168.0.25:5071>;received=209.91.15.175
<http://209.91.15.175>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071.
User-Agent: Ekiga/2.0.3.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110 <mailto:sip:test@209.91.15.110>>.
Contact: <sip:test_store@209.91.15.175:5071;transport=udp>.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Type: application/sdp.
Content-Length: 270.
Max-Forwards: 69.
P-hint: usrloc applied.
.
v=0.
o=- 1176957870 1176957870 IN IP4 192.168.0.25 <http://192.168.0.25>.
s=Opal SIP Session.
c=IN IP4 209.91.15.110 <http://209.91.15.110>.
t=0 0.
m=audio 35000 RTP/AVP 101.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
m=video 35002 RTP/AVP 31.
a=rtpmap:31 H261/90000.
a=direction:active.
a=nortpproxy:yes.
U 2006/04/20 00:11:09.678496 209.91.15.19:5074
<http://209.91.15.19:5074> -> 209.91.15.110:5060
<http://209.91.15.110:5060>
SIP/2.0 100 Trying.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP 209.91.15.110
<http://209.91.15.110>;branch=z9hG4bK393e.770a5756.0.
Via: SIP/2.0/UDP
192.168.0.25:5071 <http://192.168.0.25:5071>;received=
209.91.15.175
<http://209.91.15.175>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110 <mailto:sip:test@209.91.15.110>>.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Length: 0.
Record-Route:
<sip:209.91.15.110
<http://209.91.15.110>;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000>.
.
U 2006/04/20 00:11:09.801370 209.91.15.19:5075
<http://209.91.15.19:5075> -> 209.91.15.110:5060
<http://209.91.15.110:5060>
SIP/2.0 100 Trying.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP 209.91.15.110
<http://209.91.15.110>;branch=z9hG4bK393e.770a5756.0.
Via: SIP/2.0/UDP
192.168.0.25:5071
<http://192.168.0.25:5071>;received=209.91.15.175
<http://209.91.15.175>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110
<mailto:sip:test@209.91.15.110>>;tag=0a37f656-5cec-db11-9452-001372710463.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Length: 0.
Record-Route:
<sip:209.91.15.110
<http://209.91.15.110>;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000>.
.
U 2006/04/20 00:11:09.824859 209.91.15.19:5075
<http://209.91.15.19:5075> -> 209.91.15.110:5060
<http://209.91.15.110:5060>
SIP/2.0 502 Bad Gateway.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP 209.91.15.110
<http://209.91.15.110>;branch=z9hG4bK393e.770a5756.0 .
Via: SIP/2.0/UDP
192.168.0.25:5071
<http://192.168.0.25:5071>;received=209.91.15.175
<http://209.91.15.175>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110
<mailto:sip:test@209.91.15.110>>;tag=0a37f656-5cec-db11-9452-001372710463.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Length: 0.
Record-Route:
<sip:209.91.15.110
<http://209.91.15.110>;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000>.
.
U 2006/04/20 00:11:09.827826 209.91.15.110:5060
<http://209.91.15.110:5060> -> 209.91.15.19:5074
<http://209.91.15.19:5074>
ACK sip:test@209.91.15.19:5074;transport=udp SIP/2.0.
Via: SIP/2.0/UDP 209.91.15.110
<http://209.91.15.110>;branch=z9hG4bK393e.770a5756.0.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110
<mailto:sip:test@209.91.15.110>>;tag=0a37f656-5cec-db11-9452-001372710463.
CSeq: 1 ACK.
User-Agent: OpenSer (1.1.1-notls (i386/linux)).
Content-Length: 0.
.
U 2006/04/20 00:11:09.828858 209.91.15.110:5060
<http://209.91.15.110:5060> -> 209.91.15.175:5071
<http://209.91.15.175:5071>
SIP/2.0 502 Bad Gateway.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP
192.168.0.25:5071
<http://192.168.0.25:5071>;received=209.91.15.175
<http://209.91.15.175>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071.
From: "Test Store"
< sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110
<mailto:sip:test@209.91.15.110>>;tag=0a37f656-5cec-db11-9452-001372710463.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Length: 0.
Record-Route:
<sip:209.91.15.110
<http://209.91.15.110>;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000>.
.
U 2006/04/20 00:11:09.847970 209.91.15.175:5071
<http://209.91.15.175:5071> -> 209.91.15.110:5060
<http://209.91.15.110:5060>
ACK sip:test@209.91.15.110 <mailto:sip:test@209.91.15.110> SIP/2.0.
CSeq: 1 ACK.
Via: SIP/2.0/UDP
192.168.0.25:5071
<http://192.168.0.25:5071>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110
<mailto:sip:test@209.91.15.110>>;tag=0a37f656-5cec-db11-9452-001372710463.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Length: 0.
Max-Forwards: 70.
.
U 2006/04/20 00:11:10.209491 209.91.15.19:5075
<http://209.91.15.19:5075> -> 209.91.15.110:5060
<http://209.91.15.110:5060>
SIP/2.0 200 OK.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP 209.91.15.110
<http://209.91.15.110>;branch=z9hG4bK393e.770a5756.0.
Via: SIP/2.0/UDP
192.168.0.25:5071
<http://192.168.0.25:5071>;received=209.91.15.175
<http://209.91.15.175>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: < sip:test@209.91.15.110
<mailto:sip:test@209.91.15.110>>;tag=0a37f656-5cec-db11-9452-001372710463.
Contact: <sip:test@209.91.15.19:5075;transport=udp>.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Type: application/sdp.
Content-Length: 153.
Record-Route:
<sip:209.91.15.110
<http://209.91.15.110>;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000>.
.
v=0.
o=- 1176929527 1176929527 IN IP4 209.91.15.19 <http://209.91.15.19>.
s=Opal SIP Session.
c=IN IP4 209.91.15.19 <http://209.91.15.19>.
t=0 0.
m=video 5012 RTP/AVP 31.
a=rtpmap:31 H261/90000.
U 2006/04/20 00:11:10.210568 209.91.15.110:5060
<http://209.91.15.110:5060> -> 209.91.15.175:5071
<http://209.91.15.175:5071>
SIP/2.0 200 OK.
CSeq: 1 INVITE.
Via: SIP/2.0/UDP
192.168.0.25:5071 <http://192.168.0.25:5071>;received=
209.91.15.175
<http://209.91.15.175>;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071.
From: "Test Store"
<sip:test_store@209.91.15.110
<mailto:sip:test_store@209.91.15.110>>;tag=a84faa54-9eec-db11-9dcc-00187185e000.
Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000(a)192.168.0.25
<mailto:3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25>.
To: <sip:test@209.91.15.110
<mailto:sip:test@209.91.15.110>>;tag=0a37f656-5cec-db11-9452-001372710463.
Contact: <sip:test@209.91.15.19:5075;transport=udp>.
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE.
Content-Type: application/sdp.
Content-Length: 173.
Record-Route:
<sip: 209.91.15.110
<http://209.91.15.110>;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000>.
.
v=0.
o=- 1176929527 1176929527 IN IP4 209.91.15.19 <http://209.91.15.19>.
s=Opal SIP Session.
c=IN IP4 209.91.15.110 <http://209.91.15.110>.
t=0 0.
m=video 35004 RTP/AVP 31.
a=rtpmap:31 H261/90000.
a=nortpproxy:yes.
_______________________________________________
Users mailing list
Users(a)openser.org <mailto:Users@openser.org>
http://openser.org/cgi-bin/mailman/listinfo/users
--
Thanks and Regards
Ravi Prakash Sunkara
ravi.sunkara(a)hyperion-tech.com <mailto:ravi.sunkara@hyperion-tech.com>
M:+91 9985077535
www.hyperion-tech.com <http://www.hyperion-tech.com>
Client and Parent company :-
www.august-networks.com
<http://www.august-networks.com>