No audio with certain Asterisk calls
I had an unusual problem recently with certain calls going to the PSTN via a SIP provider. The call would connect but with no audio at either end.
I’ve seen this lots before and is often caused by NAT or a firewall blocking the audio stream but that wasn’t the cause this time.
The problem was caused my trunk only being setup to allow the ulaw codec (allow=ulaw on the trunk). What I think was happening was that my provider was accepting, and connecting, the call but then when it tried to hand the call off to it’s upstream provider, which only accepted alaw, it would fail.
So if you’re having problems with connected calls but no audio it might be worth enabling all of the codecs on the trunk to rule out any codec mismatch issues.
If that doesn’t help look at NAT or firewallingÂ
Last updated by .
Related posts:
- Calculating bandwidth for Asterisk calls
- Poor audio or music on hold with Trixbox
- Using Ekiga open source SoftPhone with Asterisk
Avaialble systems include FreePBX, PBX-in-a-Flash, Elastix, A2Billing and FusionPBX.
More details and prices can be found at sysadminman.net

Daniel:
Hi,
Not sure who else to turn to. I religiously followed your postings and I want to say thank you for all the information. I hope you can give me some suggestions on how to deal with FAS issues with Asterisks. How can eliminate billing during RBT? My billing system is a script written by my tech support.
Thanks in advance
22 February 2012, 5:41 pmmatt:
Hi Daniel,
Glad you like the blog. Not 100% sure what you mean but I think you want to be processing the call without Answering it. If it’s the same as A2Billing the the billing process is only started once the call is answered.
22 February 2012, 10:36 pm