Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Asterisk PBX call transmit audio stops working after about 5 minutes

Posted on 2008-06-24
10
Medium Priority
?
427 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Better audio for more successful meetings

Challenge: S&ME was tired of poor audio quality of Skype for Business calls in mid-sized meeting and training rooms. They were looking for a reliable and cost efficient solution to replace the existing conferencing system.

Question has a verified solution.

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

How To Create Custom / Distinctive Ring Tones on Polycom Phones Purpose and Overview When creating a custom ring tone, you have simple aspirations: to make your phone cooler than everyone else's. Perhaps you need a louder ringer. Perhaps you w…
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

688 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