Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




3 posts

Wannabe Geek


Topic # 101907 11-May-2012 13:21 Send private message

Hello there,

Recently I started a VOIP connection with my ISP. I had to buy ATA box (analog telephone adapter) in order for my analog phone to work over VOIP, upon connecting I was expierencing one way audio and could not receive calls. My isp, xnet, had no clue what it was and after 2 hours of them walking me through unprovailing steps, i decided to do a little research myself. Almost immediatley I found the problem, my NAT router was dropping traffic, because it didn't know where to send it.

The way NAT works is quite simple. When I device on the LAN inciates a connection with a device on the internet, it first sends all traffic to the NAT router. The NAT router then replaces the sources private ip address with a public ip address of its own, before sending the traffic to its destination on the internet. When a response is received, the NAT router searches its translation tables to find the orginal ip address of the device that iniciated the connection then sends it to that device.

When a connection is orginated from a device on the internet, it is not sure what device on the LAN the connection was meant to be established with and the traffic is discraded and the connection is not made.

So in order for VOIP to work with a NAT router, there must be some rule telling it what to do with the incomming traffic, that is destined for the voip device. Some routers support a thing called 'software DMZ' which can handle a simple rule such as, send all incomming connection requests to 192.168.1.5 but unfortunately this did not work for me. So I went to the next solution, Port Fowarding. After forwarding all traffic from the ports that my voip connection was using, to my ATA (if you do not have an ATA box and are using an IP phone, then just forward all traffic to that), my new phoneline was working great, I could receive calls and was no longer expierencing one way audio.

If you are not sure what ports and protocols your voip connction is using, ask your ISP (Internet Service Provider), or alternatively your ATA box or ip phone should list what ports and protocols it is using via the configuration menu.

Your port forwards should look simmilar to this:

voip1

forward external port range
from: 8065
to: 9065
forward traffic to: 192.168.1.5
protocol: tcp/udp
forward internal port range
from: 8065
to: 9065

voip2

forward external port range
from: 3216
to: 3286
forward traffic to: 192.168.1.5
protocol: udp
forward internal port range
from: 3216
to: 3400

voip3

forward external port range
from: 6050
to: 7060
forward traffic to: 192.168.1.5
protocol: tcp
forward internal port range
from: 6050
to: 7060

(I just used random port numbers and protocols here, you will need to contact your ISP to get yours)

Goodluck and enjoy your cheap calling rates,

Create new topic
20113 posts

Uber Geek
+1 received by user: 1693

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 623544 11-May-2012 14:03 Send private message

It's worth noting that for 99% of routers port forwarding is not required and you actually expose yourself to SIP security exploits by setting up port forwards if you have poorly configured hardware so should only do this if you are fully aware of the consequences.

The NAT session table in a router keeps the pinhole open once an outbound SIP registration is sent to the SIP proxy, so when inbound SIP traffic hits the router it knows where it should be routed. One way audio is typically always a NAT issue however, but mostly caused by the SIP ALG feature which is very common in many modern couters.



3 posts

Wannabe Geek


  Reply # 623555 11-May-2012 14:38 Send private message

sbiddle: It's worth noting that for 99% of routers port forwarding is not required and you actually expose yourself to SIP security exploits by setting up port forwards if you have poorly configured hardware so should only do this if you are fully aware of the consequences.

The NAT session table in a router keeps the pinhole open once an outbound SIP registration is sent to the SIP proxy, so when inbound SIP traffic hits the router it knows where it should be routed. One way audio is typically always a NAT issue however, but mostly caused by the SIP ALG feature which is very common in many modern couters.


I am not familiar with SIP ALG. I am aware of the security exploits with port forwarding, but I am unsure of any other way to make it work. Is there another configuration that I could try? because without the port fowards, I get one way audio and cannot receive calls.

104 posts

Master Geek


  Reply # 623610 11-May-2012 16:51 Send private message

Either turn the ALG setting off in your router, or get a another router (a decent one!)

20113 posts

Uber Geek
+1 received by user: 1693

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 623612 11-May-2012 16:56 Send private message

There really are two solutions to getting around the port forwarding, and both are mentioned above.

Either disable the SIP ALG setting if your router support this, or upgrade to a decent router.


Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

My un-consented UFB install
Created by thurthur, last reply by MikeSkyrme on 29-Nov-2014 17:25 (85 replies)
Pages... 4 5 6


Excessive Vodafone Support call waiting times 75 mins and then i have to wait an hour for a callback
Created by i4n, last reply by quickymart on 29-Nov-2014 18:53 (40 replies)
Pages... 2 3


This is the end ...
Created by joker97, last reply by joker97 on 29-Nov-2014 13:32 (62 replies)
Pages... 3 4 5


Gigatown winner town and plans
Created by freitasm, last reply by NonprayingMantis on 29-Nov-2014 07:40 (78 replies)
Pages... 4 5 6


Gull Employment Dispute.
Created by networkn, last reply by richms on 28-Nov-2014 17:57 (153 replies)
Pages... 9 10 11


The Warehouse pulling R18 games and DVD's
Created by semigeek, last reply by Geektastic on 27-Nov-2014 18:32 (64 replies)
Pages... 3 4 5


Seen any good Black Friday / Cyber Monday deals?
Created by Jaxson, last reply by GJones on 29-Nov-2014 19:00 (29 replies)
Pages... 2


Star Wars: The Force Awakens Official Teaser
Created by plambrechtsen, last reply by joker97 on 29-Nov-2014 15:12 (13 replies)


Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.