Solved

Asterisk MoH Sound Quality

Posted on 2008-06-19
8
1,350 Views
Last Modified: 2013-11-12
Every time I convert either a WAV or MP3 file to GSM using sox the sound quality drops drastically.  I have even tried to convert the file to GSM using an audio converter but stil no luck. Our PBX is asterisk v1.2 based.  Any suggestions on how to make Music on Hold not sound like it is distorted?  Thanks in advance.
0
Comment
Question by:sharpC
  • 4
  • 3
8 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 21829089
If you playback the converted file on a pc does it sound correct?

Have you tried reducing the volume during the conversion process?
Normally on hold music is quieter than voice so it is normal to reduce the volume.
0
 

Author Comment

by:sharpC
ID: 21830954
On my pc recording sounds great.  And yes, I have tried reducing the volume.  In addition, I have tried saving it to various file formats using Adobe Audtion but still sounds like my sound clip has become synthesized.  Any other suggestions?
0
 
LVL 36

Expert Comment

by:grblades
ID: 21831222
gsm is a compressed format so it wont sound perfect. Certenly if you are listening to it on a pc it will be a vast difference in quality. Using a telephone handset it should be less noticeable though.

Maybe gsm is not the best format. Over what sort of connection are people going to be hearing the music on hold?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:sharpC
ID: 21832546
I "think" you are asking me about my PBX.  We use an asterisk v1.2 server connected through a T1. Sorry if I am being dense.
0
 
LVL 36

Expert Comment

by:grblades
ID: 21832748
Is the T1 offering a primary rate telephone service or are you using voip over it?
If you are using voip do you know what codec you are using? (ulaw/alaw (g711), gsm, g723 etc...)
0
 

Author Comment

by:sharpC
ID: 21856823
I had to verify settings with our vendors.  T1 is VoIP and our PBX is using:     G711 codec to transmit audio.  In the case of remote users where the Low Bandwidth Codec option is checked, the pbx will use the G729 codec
0
 
LVL 36

Accepted Solution

by:
grblades earned 125 total points
ID: 21858034
In that case I would not convert it to gsm format. You are just converting to a lower quality more compressed format which asterisk will have to decompress to g711 or decompress and recompress back into g729.

You would be best off converting to .sln format (which us basically g711) using the instructions at :-
http://www.voip-info.org/tiki-index.php?page=Convert+WAV+audio+files+for+use+in+Asterisk
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Ever wanted to query Cisco Call Manager CDR records from MS SQL Server? Here's how! CUCM can be configured to upload a CDR file to a given FTP server every minute. This article will show you how to set this up, schedule the import of this data an…
The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

791 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