RTP NAT traversal
Moderator: Brekeke Support Team
RTP NAT traversal
1. Brekeke Product Name and version:
SIP PROXY 2.1
2. Java version:
1.5
3. OS type and the version:
WIN2003
4. UA (phone), gateway or other hardware/software involved:
X-LITE
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
Pattern 3
6. Your problem:
The phone 201 calls phone 202, after the connection: The phone 201 can't receive the phone 202 RTP packets, the phone 202 can't receive the phone 201 RTP packets either.We used Ethereal in the UAS'S PC,it shows that the packets send to LAN IP ,not public IP address.
how to set in the SIP proxy and in detail.
I set as following:
Set port forwarding on the router which does NAT. Forward the following ports to Brekeke SIP Server's IP address.
SIP exchanger - Local Port [UDP]
Default Value: 5060
RTP Exchanger - From Minimum Port to Maximum Port [UDP]
Default value: 10000-10999
Also, set interface address on Brekeke SIP Server.
Go to Brekeke SIP Server Admintool > Config > System > Network
Set [Interface Address #] = my router's global IP Address
Thanks
SIP PROXY 2.1
2. Java version:
1.5
3. OS type and the version:
WIN2003
4. UA (phone), gateway or other hardware/software involved:
X-LITE
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
Pattern 3
6. Your problem:
The phone 201 calls phone 202, after the connection: The phone 201 can't receive the phone 202 RTP packets, the phone 202 can't receive the phone 201 RTP packets either.We used Ethereal in the UAS'S PC,it shows that the packets send to LAN IP ,not public IP address.
how to set in the SIP proxy and in detail.
I set as following:
Set port forwarding on the router which does NAT. Forward the following ports to Brekeke SIP Server's IP address.
SIP exchanger - Local Port [UDP]
Default Value: 5060
RTP Exchanger - From Minimum Port to Maximum Port [UDP]
Default value: 10000-10999
Also, set interface address on Brekeke SIP Server.
Go to Brekeke SIP Server Admintool > Config > System > Network
Set [Interface Address #] = my router's global IP Address
Thanks
Last edited by weirulong on Fri Dec 07, 2007 7:25 pm, edited 1 time in total.
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
I don't install STUN server.
HI,
voipwell.com
set Discover Server????
I don't install STUN server,should I install STUN server in sip server?
voipwell.com
set Discover Server????
I don't install STUN server,should I install STUN server in sip server?
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
The lan private ip address range for phones 201 and 202 is 192.168.0.0/24.
During the conversation,phones 201's RTP packets send to SIP PROXY's lan ip address(134.160.x.x),not SIP PROXY's public IP;phones 202's RTP packets send to SIP PROXY's lan ip address too.
We also found ,during the conversation phone 101 with 201,phone 101 RTP packets send to 201's public ip address,but 201 can't receive.
During the conversation,phones 201's RTP packets send to SIP PROXY's lan ip address(134.160.x.x),not SIP PROXY's public IP;phones 202's RTP packets send to SIP PROXY's lan ip address too.
We also found ,during the conversation phone 101 with 201,phone 101 RTP packets send to 201's public ip address,but 201 can't receive.
-
- Posts: 2
- Joined: Tue Dec 11, 2007 1:44 am
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
Hi,
The string net.rtp.follow.remoteaddr = true appears to help you use a public wan address as a private lan address but it breaks the communication within the lan so instead of putting it in the properties config file put it in the dial plan so it only gets used when communication is hitting that public wan address you are using as a lan address.
The string net.rtp.follow.remoteaddr = true appears to help you use a public wan address as a private lan address but it breaks the communication within the lan so instead of putting it in the properties config file put it in the dial plan so it only gets used when communication is hitting that public wan address you are using as a lan address.
-
- Posts: 2
- Joined: Tue Dec 11, 2007 1:44 am
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
Hi,
After rereading you post I see your problem is the reverse of the situation I experienced. I had remote ua's behind nat routers using public wan addresses. You have the actual sip server behind nat using public address space. So, I would place net.rtp.follow.remoteaddr = true in the deploy of from pbx2 and test and then in to pbx and test. Try different combinations until you find what works for you.
After rereading you post I see your problem is the reverse of the situation I experienced. I had remote ua's behind nat routers using public wan addresses. You have the actual sip server behind nat using public address space. So, I would place net.rtp.follow.remoteaddr = true in the deploy of from pbx2 and test and then in to pbx and test. Try different combinations until you find what works for you.