Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1422
  • Last Modified:

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

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
jkockler
Asked:
jkockler
  • 4
  • 2
1 Solution
 
Ron MalmsteadInformation Services ManagerCommented:
Do you have "canreinvite=nonat" set ?

Look here...
http://www.voip-info.org/wiki/view/Asterisk+SIP+canreinvite
0
 
Ron MalmsteadInformation Services ManagerCommented:
0
 
jkocklerAuthor Commented:
I do not have the command listed at all.  What is the default, if not listed?
0
Reclaim your office - Try the MB 660 headset now!

High level of background noise often makes it difficult for employees to concentrate fully on their jobs – or to communicate clearly on calls. The MB 660 headset helps you create a disruption free workspace.  

 
Ron MalmsteadInformation Services ManagerCommented:
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
 
jkocklerAuthor Commented:
I set canreinvite=no and all issues resolved!!!!!!!!!!!!!!!  Thanks xuserx!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0
 
Ron MalmsteadInformation Services ManagerCommented:
Glad to help.
0

Featured Post

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!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now