Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
NAT transversal
Author Message
xdgning
Brekeke Addict


Joined: 22 Oct 2007
Posts: 38

PostPosted: Mon Oct 22, 2007 12:01 pm    Post subject: NAT transversal Reply with quote

1. Brekeke Product Name and version:

2. Java version:

3. OS type and the version:

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

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :

6. Your problem:

My set up is:

ATA 1(DHCP,192.168.1.102) -- Router (192.168.1.1|10.0.0.154) -- Hub -- ATA 2(10.0.0.2)
***************************************************** |
*********************************************** brekeke-sip.com(10.0.0.157)

When I call from ATA 1 to ATA 2, there is only one way communication from ATA 1 to ATA 2. I looked at the SDP body of the INVITE message from the hub. The source IP has been changed from 192.168.1.102 to 10.0.0.157. Is this correct? Or should it be changed to 10.0.0.154?
Also, for the RTP packets, it only goes from ATA 2 to the proxy and does not send it to the router.

Strange thing is that it worked fine on Friday.

Please take a look, any advice is appreciated.

Thanks!
Back to top
View user's profile
peng
Brekeke Guru


Joined: 20 Jul 2005
Posts: 110

PostPosted: Mon Oct 22, 2007 12:54 pm    Post subject: Reply with quote

How about setting [External IP address pattern] = "^10.*" at Config page ?
Back to top
View user's profile
pwestly
Brekeke Newbie


Joined: 25 Sep 2007
Posts: 4

PostPosted: Mon Oct 22, 2007 6:08 pm    Post subject: Reply with quote

It's ok that the source IP in the SDP body of the INVITE from brekeke to ATA2 be 10.0.0.157.
Perhaps you should try to change the RTP relay setting from "auto" to "on" in RTP Configuration.
Back to top
View user's profile MSN Messenger
xdgning
Brekeke Addict


Joined: 22 Oct 2007
Posts: 38

PostPosted: Mon Oct 22, 2007 6:58 pm    Post subject: Reply with quote

Yes. Setting the pattern worked. What is it for? It worked with RTP relay set both to "on" and "auto".

Thanks.
Back to top
View user's profile
peng
Brekeke Guru


Joined: 20 Jul 2005
Posts: 110

PostPosted: Tue Oct 23, 2007 1:57 am    Post subject: Reply with quote

If you have NAT in the private network, you can set
the address pattern at the field.
Back to top
View user's profile
xdgning
Brekeke Addict


Joined: 22 Oct 2007
Posts: 38

PostPosted: Tue Nov 06, 2007 11:39 am    Post subject: Reply with quote

What if I have the proxy server connected to the Internet. And many ATAs behind different routers, whose public address are connected to Internet? How should I set the settings then?
Back to top
View user's profile
Andrea
Brekeke Addict


Joined: 04 Apr 2007
Posts: 36

PostPosted: Wed Nov 07, 2007 12:19 pm    Post subject: Reply with quote

I'm not sure but maybe you can set the field like the one in Dial Plan Matching Patterns.
Such as ^10.*|^11.*


Andrea
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