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:[email protected];transport=tcp SIP/2.0

To: <sip:[email protected]:5060>

From: "Unknown" <sip:[email protected]>;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: [email protected]

CSeq: 1 INVITE

Contact: <sip:[email protected]: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:[email protected]:5060>

From: "Unknown" <sip:[email protected]>;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: [email protected]

CSeq: 1 INVITE

Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))

Content-Length: 0

 

 

 

Best regards,

Morten Tryfoss

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to