Solved

Asterisk PBX call transmit audio stops working after about 5 minutes

Posted on 2008-06-24
10
422 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Avaya IP Office Long Distance Codes 5 208
Mitel 3300 3 53
NEC Univerge SV8100 - Phone only flashing and not ringing 2 327
Failing ALG SIP test for new VoIP phone system 4 165
The point of this post is to give you a copy/paste installation solution to setting up Asterisk 1.6 on Ubuntu 9.04 (or similar) server. # Setup the system apt-get install subversion apt-get install make apt-get install linux-source kernel-p…
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 …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

710 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