Solved

Asterisk PBX call transmit audio stops working after about 5 minutes

Posted on 2008-06-24
10
418 Views
Last Modified: 2013-11-12
The call connects just fine and after about 5 minutes (sometimes less) it will stop tranmitting your audio. You can receive audio just fine. The trunk is from VIAtalk.com
0
Comment
Question by:mspurling
  • 5
  • 4
10 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 21859904
Is there any NAT device between the asterisk box and the phone or viatalk?
0
 

Author Comment

by:mspurling
ID: 21860065
I have tried on both sides of the Firewall and it does it. They are Linksys pap2t-na adapters.
0
 
LVL 36

Expert Comment

by:grblades
ID: 21860105
What firewall do you have?
What ports have you forwarded through on the firewall so far?
0
 

Author Comment

by:mspurling
ID: 21860161
Ok, the PBX side is not behind a firewall. It is on the public side of the internet completely open (won't be permantly but now it is) The Linksys devices have also been on the public side on the internet (same switch no hops) and behind firewalls (two hosp away) but have not opened any ports on those firewalls. Do I need to since it works sometimes?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 36

Expert Comment

by:grblades
ID: 21860284
Ok I'll assume asterisk is connected directly to the internet with no firewall inbetween.
If the linksys devices are behind a firewall then you should really forward the rtp ports configured on the linksys. Since different ports are used in each direction the firewall can think the traffic has stopped since their are no replies and close the connection. Forwarding the ports signals that new udp connections are permitted so it wont look for replies.

10pm here in the uk now. I will reply to any furthur posts tomorrow.
0
 

Author Comment

by:mspurling
ID: 21864686
Ok, what are the RTP port ranges that need to be forwarded? Are they?
SIP signaling: Ports 5060 to 5070
RTP audio: Ports 8766 to 35000
What do you think about an IP Tunnel? I think I read somewhere that you can do that between the linksys terminal adapter and directly with Asterisk but I can't seem to find that now.
0
 
LVL 36

Accepted Solution

by:
grblades earned 500 total points
ID: 21864766
Its the rtp audio UDP ports 8766 to 35000 which need to be forwarded. You can specify a much smaller port range on the device first if you wish as it doesnt need to be that big. 10 ports should be sufficient.

You shouldnt need to worry about forwarded the SIP ports. Just set the registry expiry time small (5 minutes for example) so that the firewall doesnt close the connection thinking it is inactive.

I wouldnt bother trying to use a tunnel directly between the equipment. Its too complex.
You could use a hardware firewall such as a Cisco ASA5505 and smaller devices or a cisco router at the other sites and have a VPN connection but that should really be as a last resort.
0
 

Author Comment

by:mspurling
ID: 21899816
I adjusted this and it didn't seem to make a difference. Any other ideas? How does one setup a tunnel with in the terminal adapter and the pbx?
0
 
LVL 36

Expert Comment

by:grblades
ID: 21903030
No sorry no other ideas. I wouldnt try and use a software VPN on the asterisk box. Far too many issues with NAT and firewalls that unless you know exactly what you are doing and where each layer sits in the networking stack you will probably cause more problems.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to Make only 1 Line ring on Cisco 7940 3 49
Looking for an app that is similar to Google Talk 2 49
Skype for Business 2015 2 68
Issues Recreating DHCP Scope 10 73
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now