Solved

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

Posted on 2009-06-29
6
1,408 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 Malmstead 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 Malmstead
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 25

Expert Comment

by:Ron Malmstead
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 Malmstead
ID: 24738712
Glad to help.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Securing Azure Oracle instance of Linux VM 4 67
SMB share across internet 15 67
The better OS Architecture 13 69
Apache module 5 48
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.

821 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