Solved

Asterisk one way audio, outbound calls, only on phones sharing LAN with asterisk

Posted on 2009-06-29
6
1,400 Views
Last Modified: 2013-11-12
I am getting one way audio with a Linksys spa942, that is on the same LAN as asterisk.  The one way audio, seems to be only on outbound calls.  And the audio that is heard, is what is coming from the SPA942.  The inbound audio to the SPA942, is not heard.

II have about 15 phones across the WAN, that use the same asterisk server, but they have no audio issues.  I have tried pointing the phone to the internal private ip address of asterisk, as well as the external public ip address.

I have port 5061 forwarded to the phone, and the phone set to register and listen on 5061.  Asterisk is listening on 5060 and port 5060 is forwarded to asterisk.  I have udp & tcp ports 10000-20000 forwarded to asterisk.  

I am using a new Netgear FVS338 firewall, NAT enabled, with the second to latest firmware 3.0.4-19.  The most recent firmware 3.0.5-29 has issues with SIP.  This firewall replaced a Netgear FVS114, which is a small firewall, and one of their older models, which for me had zero problems, except it lacked throughput above 5mbps.  Like I said, the FVS114 had no audio problems.

I have sip_nat.conf and sip.conf, configured with
nat=yes
externip = 75.xxx.xx.xx
localnet = 192.168.0.0/255.255.255.0

Any ideas?
0
Comment
Question by:jkockler
  • 4
  • 2
6 Comments
 
LVL 25

Accepted Solution

by:
Ron M earned 500 total points
ID: 24738265
Do you have "canreinvite=nonat" set ?

Look here...
http://www.voip-info.org/wiki/view/Asterisk+SIP+canreinvite
0
 
LVL 25

Expert Comment

by:Ron M
ID: 24738275
0
 
LVL 4

Author Comment

by:jkockler
ID: 24738343
I do not have the command listed at all.  What is the default, if not listed?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 25

Expert Comment

by:Ron M
ID: 24738518
canreinvite is an option in the SIP peer definitions..

It basically tells Asterisk if the phones are allowed to have direct RTP setup (phone to phone or phone to "provider"), rather than Asterisk staying in the media path.  I believe the default is yes, and in a NAT situation this could be problematic.

You are using a sip provider, correct ?
0
 
LVL 4

Author Comment

by:jkockler
ID: 24738664
I set canreinvite=no and all issues resolved!!!!!!!!!!!!!!!  Thanks xuserx!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0
 
LVL 25

Expert Comment

by:Ron M
ID: 24738712
Glad to help.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

947 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

18 Experts available now in Live!

Get 1:1 Help Now