Solved

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

Posted on 2009-06-29
6
1,398 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 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

17 Experts available now in Live!

Get 1:1 Help Now