[Kamailio-Devel] [ openser-Bugs-2030697 ] double IP using fix_nated_sdp("11")

SourceForge.net noreply at sourceforge.net
Mon Jul 28 23:01:23 CEST 2008


Bugs item #2030697, was opened at 2008-07-28 23:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2030697&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: stefano (stefanoit)
Assigned to: Nobody/Anonymous (nobody)
Summary: double IP using  fix_nated_sdp("11")

Initial Comment:
I get Bad Request because IP are double
using fix_nated_sdp("11").

The first time the function works without problem. The second time the fuction procude the result you can see.

o=- 151656 151656 IN IP4 79.130.232.5879.130.232.58.
s=-.
c=IN IP4 79.130.232.5879.130.232.58.


U 91.121.156.106:5060 -> 213.5.43.134:5060
INVITE sip:+30***@sip.***.gr SIP/2.0.
Record-Route: 
<sip:91.121.156.106;lr=on;ftag=2d41db94496b3c63o0;vsf=AAAAAAcHBAEFBQF5SlAwXRkSVgBdTQgYbC5ncg-->.
Via: SIP/2.0/UDP 91.121.156.106;branch=z9hG4bK5213.6dc7f8a.0.
Via: SIP/2.0/UDP 
192.168.1.65:5060;rport=63257;received=79.130.232.58;branch=z9hG4bK-1cbce607.
From: +30*** <sip:***@sip.***.gr>;tag=2d41db94496b3c63o0.
To: <sip:1***@sip.pbxip.it>.
Call-ID: 312edc28-ed9614df at 192.168.1.65.
CSeq: 102 INVITE.
Max-Forwards: 69.
Contact: +30*** <sip:5000210 at 79.130.232.58:63257>.
Expires: 240.
User-Agent: Linksys/SPA3102-5.1.7(GW).
Content-Length: 380.
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER.
Supported: x-sipura, replaces.
Content-Type: application/sdp.
P-src-ip: 79.130.232.58.
.
v=0.
o=- 151656 151656 IN IP4 79.130.232.58.
s=-.
c=IN IP4 79.130.232.58.
t=0 0.
m=audio 16428 RTP/AVP 8 0 18 100 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:18 G729a/8000.
a=rtpmap:100 NSE/8000.
a=fmtp:100 192-193.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:20.
a=sendrecv.
a=direction:active.
a=oldmediaip:192.168.1.65.
a=oldmediaip:192.168.1.65.

#
U 213.5.43.134:5060 -> 91.121.156.106:5060
SIP/2.0 407 Proxy Authentication Required.
Via: SIP/2.0/UDP 91.121.156.106;branch=z9hG4bK5213.6dc7f8a.0;rport=5060.
Via: SIP/2.0/UDP 
192.168.1.65:5060;rport=63257;received=79.130.232.58;branch=z9hG4bK-1cbce607.
From: +30*** <sip:***@sip.***.gr>;tag=2d41db94496b3c63o0.
To: 
<sip:1***@sip.pbxip.it>;tag=97e44c910458bd56beb40ca4028d7cc8.d96d.
Call-ID: 312edc28-ed9614df at 192.168.1.65.
CSeq: 102 INVITE.
Proxy-Authenticate: Digest realm="***.gr", 
nonce="488cd59342b81d94e67d1fb56691a0392459004e".
Server: Altec Telecoms SIP Proxy.
Content-Length: 0.
.

#
U 91.121.156.106:5060 -> 213.5.43.134:5060
ACK sip:+30***@sip.***.gr SIP/2.0.
Via: SIP/2.0/UDP 91.121.156.106;branch=z9hG4bK5213.6dc7f8a.0.
From: +30*** <sip:***@sip.***.gr>;tag=2d41db94496b3c63o0.
Call-ID: 312edc28-ed9614df at 192.168.1.65.
To: <sip:1***@sip.pbxip.it>.
CSeq: 102 ACK.
Max-Forwards: 70.
User-Agent: OpenSER (1.3.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 91.121.156.106:5060 -> 213.5.43.134:5060
INVITE sip:+30***@sip.***.gr SIP/2.0.
Record-Route: 
<sip:91.121.156.106;lr=on;ftag=2d41db94496b3c63o0;vsf=AAAAAAcHBAEFBQF5SlAwXRkSVgBdTQgYbC5ncg-->.
Via: SIP/2.0/UDP 91.121.156.106;branch=z9hG4bK5213.6dc7f8a.1.
Via: SIP/2.0/UDP 
192.168.1.65:5060;rport=63257;received=79.130.232.58;branch=z9hG4bK-1cbce607.
From: +30*** <sip:***@sip.***.gr>;tag=2d41db94496b3c63o0.
To: <sip:1***@sip.pbxip.it>.
Call-ID: 312edc28-ed9614df at 192.168.1.65.
CSeq: 103 INVITE.
Max-Forwards: 69.
Contact: +30*** <sip:5000210 at 79.130.232.58:63257>.
Expires: 240.
Content-Length: 480.
Content-Type: application/sdp.
P-src-ip: 79.130.232.58.
Proxy-Authorization: Digest username="***", realm="***.gr", 
nonce="488cd59342b81d94e67d1fb56691a0392459004e", 
uri="sip:+30***@sip.***.gr", 
response="92ccbca8c38836a8abbc3cb658c7904a", algorithm=MD5.
.
v=0.
o=- 151656 151656 IN IP4 79.130.232.5879.130.232.58.
s=-.
c=IN IP4 79.130.232.5879.130.232.58.
t=0 0.
m=audio 16428 RTP/AVP 8 0 18 100 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:18 G729a/8000.
a=rtpmap:100 NSE/8000.
a=fmtp:100 192-193.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:20.
a=sendrecv.
a=direction:active.
a=oldmediaip:192.168.1.65.
a=oldmediaip:192.168.1.65.
a=direction:active.
a=oldmediaip:192.168.1.65.
a=oldmediaip:192.168.1.65.

#
U 213.5.43.134:5060 -> 91.121.156.106:5060
SIP/2.0 400 Bad Request.
Via: SIP/2.0/UDP 91.121.156.106;branch=z9hG4bK5213.6dc7f8a.1;rport=5060.
Via: SIP/2.0/UDP 
192.168.1.65:5060;rport=63257;received=79.130.232.58;branch=z9hG4bK-1cbce607.
From: +30*** <sip:***@sip.***.gr>;tag=2d41db94496b3c63o0.
To: 
<sip:1***@sip.pbxip.it>;tag=97e44c910458bd56beb40ca4028d7cc8.417c.
Call-ID: 312edc28-ed9614df at 192.168.1.65.
CSeq: 103 INVITE.
Server: Altec Telecoms SIP Proxy.
Content-Length: 0.
.

#
U 91.121.156.106:5060 -> 213.5.43.134:5060
ACK sip:+30***@sip.***.gr SIP/2.0.
Via: SIP/2.0/UDP 91.121.156.106;branch=z9hG4bK5213.6dc7f8a.1.
From: +30*** <sip:***@sip.***.gr>;tag=2d41db94496b3c63o0.
Call-ID: 312edc28-ed9614df at 192.168.1.65.
To: <sip:1***@sip.pbxip.it>.
CSeq: 103 ACK.
Max-Forwards: 70.
User-Agent: OpenSER (1.3.2-notls (i386/linux)).
Content-Length: 0.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2030697&group_id=139143



More information about the Devel mailing list