Are you having an audio issues in your Asterisk?
Well it’s a common issue with PBX to have audio issues like one way audio or no audio. Sometimes only caller can hear remote party or remote party only can hear the caller. You must be wondering what causes this issue? This problem in audio is mainly because of the NAT issues. We recommend to use NAT with enabling 10000-20000 UDP ports on firewalls and also to enable natting on trunks
Asterisk one way audio issue
*Try Risk Free for first month and know the DIDforSale SIP Trunking difference*
asterisk sip trunk provider
Some of our key SIP Trunking features:-
Special Intro Offer
FREE First Month
✓ Flexible Pricing options to choose
✓ Reliable service & support
✓ Easy account management
✓ Multiple compatible platforms
✓ SMS/MMS enabled Phone Numbers
✓ Number Portability
✓ Easy Integration
✓ 30-day money back guarantee
How to resolve one way or no audio issues?
Are you having an audio issues in your Asterisk?
Well it’s a common issue with PBX to have audio issues like one way audio or no audio. Sometimes only caller can hear remote party or remote party only can hear the caller. You must be wondering what causes this issue? This problem in audio is mainly because of the NAT issues. We recommend to use NAT with enabling 10000-20000 UDP ports on firewalls and also to enable natting on trunks
Example:
[didforsale1]
type=peer
host=209.216.2.211
nat=yes
canreinvite=no
disallow=all
allow=ulaw&g729
context=from-trunk
dtmfmode=auto
—————————————————————————–
[didforsale2]
type=peer
host=209.216.15.70
nat=yes
canreinvite=no
disallow=all
allow=ulaw&g729
context=from-trunk
dtmfmode=auto
The Second possible reason for causing one way audio could possibly be Codec, This often happens when a call comes in with ULAW and the system tries to accept with other codecs which can cause superfluous codec negotiation. To avoid this we need to remove the unwanted codec on your switch. For example if you are using G729 then remove ULAW parameter from our trunks. If you are using ULAW then remove g729.
Example
[didforsale1]
type=peer
host=209.216.2.211
nat=yes
canreinvite=no
disallow=all
allow=g729 (Use either one of the codec you want)
context=from-trunk
dtmfmode=auto
Well if both of the previous steps don’t work for you. Then check if you are in a local network? If Yes, then you will need to add additional parameters in /etc/asterisk/sip.conf
Under the general context add your Public IP, NAT and local IP
Example
[general]
externip= (Your public ip)
localnet= (your local network address)
nat = yes
Say your public IP is 208.54.15.6 and your local network is 192.168.1.0
externip= 208.54.15.6
localnet= 192.168.1.0/255.255.255.0
nat = yes
Hope these steps resolve the Asterisk audio issues for you!.
Check Out
Asterisk one way audio issue
How to limit the number of calls in asterisk
Learn how you can limit number of simultaneous calls on Asterisk based SIP Trunk. If you want to limit the number calls for your SIP peer or friend in Asterisk use call-limit in your trunk configuration.
Asterisk time based routing
This is a very common requirement that route the calls to Voice-mail after office hours. Or you can transfer the calls to your cell phone after certain time say 6:00pm. In Asterisk you can also control the call location based on time and date.
Originating calls from a webpage using asterisk
Asterisk can be used to originate calls from a web page. Asterisk Manager Interface (AMI) allows you to manage call origination. AMI also allows external programs to control Asterisk.
Count Calls From Asterisk Dialplan
We have put together a list of dialplan functions that you can use to count calls from Asterisk Dialplan.
Learn more about our Products
Visit SIP Trunking Pricing to see which plan suits your business!
With so many options to pick from it can often be hard to decide what’s best.
Our plans have been packaged together to give you optimum output.