Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Client behind far-end symmetric NAT
Author Message
Serge
Brekeke Member


Joined: 25 Oct 2005
Posts: 17

PostPosted: Tue Sep 10, 2013 5:32 am    Post subject: Client behind far-end symmetric NAT Reply with quote

1. Brekeke Product Name and Version:
Brekeke SIP Server , Version 2.4.8.6/286.3

2. Java version:
1.6.0_43

3. OS type and the version:
Windows XP 5.1

4. UA (phone), gateway or other hardware/software involved:
UA with SipX

5. Your problem:
When an unregistered UA calls from behind far-end symmetric NAT, Brekeke does not detect NAT: RTP relay is OK, but it sends RTP to the far-end private IP+ports => failure.
I have tried following dial plan rule:

Matching:
$request=^INVITE
To=202


Deploy:
$nat=true


The rule fires well but the problem remains the same.

1. Why is not NAT detected ?
2. How can I make the dial rule work, i.e. force NAT traversal when it is desirable?
3. If unconditionally forcing NAT traversal might be a solution, how can this be done?

Thanks for your attention!
Serge
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 289
Location: Japan

PostPosted: Tue Sep 10, 2013 9:32 am    Post subject: Reply with quote

It will happen if a UA doesn't replace all of its local IP addresses from a SIP packet even though it detects the global IP address.


Brekeke SIP Server ver3 has the feature to handle it.

For version 2.4, put the following line in the [Configuration]->[Advanced] page, and restart the SIP Server.

----------------------------------------
net.rtp.follow.remoteaddr = true
----------------------------------------
Back to top
View user's profile
Serge
Brekeke Member


Joined: 25 Oct 2005
Posts: 17

PostPosted: Wed Sep 11, 2013 12:27 am    Post subject: Reply with quote

This setting works fine.
Many thanks for your quick and accurate answer!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1