[OpenSIPS-Users] Possible bug, B2BUA and Via-header
Morten Tryfoss
morten at tryfoss.no
Wed Sep 28 15:01:53 CEST 2011
Hi!
I'm using the B2BUA module for top hiding. The client connects to us through
NAT. He got two servers: one for call handling(.19) and one proxy(.20).
The problem seems to be that opensips (1.6.4) appends received=x.x.x.x to
the wrong Via-header part when using the B2BUA module. Without everything is
OK.
See my trace:
It should be:
Via: SIP/2.0/TCP
10.3.8.20:5060;branch=z9hG4bK94c1e03fce37b2c400d363ade;received=80.239.13.20
9, SIP/2.0/TCP 10.3.8.19:5062;branch=z9hG4bKf047356212106fe69a90eb0bf
not:
Via: SIP/2.0/TCP 10.3.8.20:5060;branch=z9hG4bK94c1e03fce37b2c400d363ade,
SIP/2.0/TCP
10.3.8.19:5062;branch=z9hG4bKf047356212106fe69a90eb0bf;received=80.239.13.20
9
when 10.3.8.20 is the box we're communicating with?
80.239.13.209 is the customer's external ip which we receive data from.
It seems like 10.3.8.20 forwards the request to 80.239.13.209 instead of
10.3.18.19 when we're sending replies.
INVITE sip:48485858 at 85.19.212.36;transport=tcp SIP/2.0
To: <sip:48485858 at 10.3.8.20:5060>
From: "Unknown" <sip:38531300 at dialer2.krs>;tag=23221
Via: SIP/2.0/TCP 10.3.8.20:5060;branch=z9hG4bK94c1e03fce37b2c400d363ade,
SIP/2.0/TCP 10.3.8.19:5062;branch=z9hG4bKf047356212106fe69a90eb0bf
Call-ID: ac6d5d3fbe9f119fded83f223796e5a8 at 10.3.8.19
CSeq: 1 INVITE
Contact: <sip:38531300 at 10.3.8.19:5062;transport=tcp>
Max-Forwards: 69
x-inin-crn: 1001083772;loc=Kristiansand;ms=NECIC4
Supported: join, replaces
User-Agent: ININ-TsServer/3.11.11.12100
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER,
SUBSCRIBE
Accept: application/sdp
Accept-Encoding: identity
Content-Type: application/sdp
Content-Length: 197
Record-Route: <sip:10.3.8.20:5060;lr;transport=tcp>
v=0
o=ININ 3089718599 3089718600 IN IP4 10.3.8.19
s=Interaction
c=IN IP4 10.3.8.20
t=0 0
m=audio 24094 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
SIP/2.0 100 Trying
To: <sip:48485858 at 10.3.8.20:5060>
From: "Unknown" <sip:38531300 at dialer2.krs>;tag=23221
Via: SIP/2.0/TCP 10.3.8.20:5060;branch=z9hG4bK94c1e03fce37b2c400d363ade,
SIP/2.0/TCP
10.3.8.19:5062;branch=z9hG4bKf047356212106fe69a90eb0bf;received=80.239.13.20
9
Call-ID: ac6d5d3fbe9f119fded83f223796e5a8 at 10.3.8.19
CSeq: 1 INVITE
Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))
Content-Length: 0
Best regards,
Morten Tryfoss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110928/48d95510/attachment.htm>
More information about the Users
mailing list