IT Secure Net - All about computer Tweak and Security

  • About Me
  • Linux sysadmin command 101
  • News
  • Categories
    • Linux
    • Voip
    • Nagios
    • Virtual Box
    • AsteriskNow
    • VM Ware
    • Freepbx
    • WordPress
    • Windows
  • Contact

Asterisk only one way audio issue

 

When you call someone, there is only one way audio or worst, no audio at all.There are lot of reasons why you are facing this  issue. Most of the time, there are few commons issue that you might want to check before taking any further action. Two common issues that I found all the time are : NAT and codec issue.
Problem :  Asterisk only one way audio issue or no sound incoming call

1. Make sure that you enable NAT is enable in your configuration  and also open 10000-20000 UDP ports on your router / firewalls. Those port are by default but if you want to change those ports you have to change also your your PBX server. Of course, you have to also enable NAT on trunks  configuration that your using on your PBX
For example, you have to put nat to yes in your configuration if you are running your server on a private IP address.

[myTrunk]
type=peer
host=xxx.xxx.xxx.xxx
nat=yes
canreinvite=no
disallow=all
allow=ulaw
allow=g729
context=from-trunk
dtmfmode=auto

2. Sometime, you are using some codec that your provider does not support or vice-versa. So, before configuring your trunk, you have to find a common codec that your server support as well as your provider. After that, put the common codec. For example, let’s say, our provider support ULAW and as well as our server, we gonna setup codec as ULAW.

[myTrunk]
type=peer
host=xxx.xxx.xxx.xxx
nat=yes
canreinvite=no
disallow=all
allow=ulaw
context=from-trunk
dtmfmode=auto

After that, do not forget to reload your Asterisk or FreePBX server before start doing the test.

Aug 13, 2015IT Secure
How to install Godaddy SSL certificateHow do I list my RSA key fingerprint SSH

Leave a Reply Cancel reply

IT Secure
August 13, 2015 AsteriskNow, Centos, Freepbx, Linux, Voipasterisk, asterisk audio issue, asterisk incoming call no audio, asterisk one way audio issue, asterisk sound problem, freepbx incoming sound not working, freepbx one way audio issue, one way audio voip, pbx
EnglishFrançaisDeutschItalianoPortuguêsRomânăEspañol
Recent Posts
  • Install FreePbx on Centos 7
  • Configure WordPress with NGINX
  • VT-x is being used by another hypervisor (VERR_VMX_IN_VMX_ROOT_MODE)
  • Putty numeric keypad not working with vim
  • How do I list my RSA key fingerprint SSH
Donate never asked but always appreciated
Support Team Viewer
Accès à distance et Télé-assistance sur Internet grâce à TeamViewer Support IT Secure Net
RSS National Vulnerability Database
  • CVE-2019-9022
  • CVE-2019-9020
  • CVE-2019-9023
  • CVE-2019-6485
  • CVE-2019-9024
  • CVE-2019-9021
  • CVE-2019-9025
  • CVE-2019-9019
  • CVE-2019-9016 (mopcms)
  • CVE-2019-9015 (mopcms)
Recent Comments
  • IT Secure on VirtualBox OVA to Vsphere OVF
  • Sai on VirtualBox OVA to Vsphere OVF
  • Saeid on VirtualBox OVA to Vsphere OVF
  • Lokesh on VirtualBox OVA to Vsphere OVF
Categories
  • Apple
  • AsteriskNow
  • Backtrack
  • Centos
  • Debian
  • Freepbx
  • Kali
  • Linux
  • Nagios
  • Network
  • News
  • Nginx
  • Ubuntu
  • Uncategorized
  • Unix
  • Virtual Box
  • VM Ware
  • Voip
  • Web
  • Windows
  • Wordpress

Your Name (required)

Your Email (required)

Subject

Your Message

2014 © IT Secure Net
Domain for sale : Contact-us