Solved

Asterisk PBX call transmit audio stops working after about 5 minutes

Posted on 2008-06-24
10
424 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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.

 

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
 
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

623 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