Depending on the format you should be able to open the audio files in another program (like Audacity [1]) and verify if there are anomalies in the audio itself.
Other than that you could also try using an audio file that is known to not have issues. Try using one of the installed sound files found in Asterisk to see if those have similar symptoms.
Sometimes clicks and pops could be due to dropped packets. Try getting a pcap and see if any packets are being dropped between Asterisk and the phone.
On Mon, Oct 9, 2017 at 11:17 AM, Naftoli Gugenheim <naftoligug@xxxxxxxxx> wrote:
Hi, I have an IVR that uses FastAGI, currently running on asterisk 13 (via the cleardevice/docker-cert-asterisk13-ubuntu docker image).The problem: In between playing audio files there is an audible click. I'm not sure if somehow the audio files themselves contain clicks and for some reason I don't notice when playing them without asterisk but over the phone they're magnified, if it's a codec issue, if I'm doing something the wrong way, or what. Any help is greatly appreciated!
Here is an illustration of what I mean, generated using a call recording app on my phone: https://drive.google.com/open?id= 0B2SmgnDyV1aETDZrdnJBTU82RGc Here are the files from the server that it uses: https://drive.google.com/open?id= 0B2SmgnDyV1aEWGNJYy13OGZMTUU I'm not sure why I have both .wav and .sln files.Here is some information from the asterisk CLI:ubuntu@chavrusa-main:~$ docker-compose exec asterisk asterisk -rAsterisk certified/13.1-cert4, Copyright (C) 1999 - 2014, Digium, Inc. and others.Created by Mark Spencer <markster@xxxxxxxxxx>Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.This is free software, with components licensed under the GNU General PublicLicense version 2 and other licenses; you are welcome to redistribute it undercertain conditions. Type 'core show license' for details.============================================================ ============= Connected to Asterisk certified/13.1-cert4 currently running on 9c5c45693e10 (pid = 17)9c5c45693e10*CLI> core show versionAsterisk certified/13.1-cert4 built by root @ 2dcc79fb8a1e on a x86_64 running Linux on 2016-03-03 08:25:13 UTC9c5c45693e10*CLI> core show file formatsFormat Name Extensions------ ---- ----------siren7 siren7 siren7g719 g719 g719h264 h264 h264siren14 siren14 siren14h263 h263 h263gsm gsm gsmgsm wav49 WAV|wav49ilbc iLBC ilbcslin192 sln192 sln192slin96 sln96 sln96slin48 sln48 sln48slin44 sln44 sln44slin32 sln32 sln32slin24 sln24 sln24slin16 sln16 sln16slin12 sln12 sln12slin sln sln|rawslin16 wav16 wav16slin wav wavg723 g723sf g723|g723sfg729 g729 g729g726 g726-16 g726-16g726 g726-24 g726-24g726 g726-32 g726-32g726 g726-40 g726-40g722 g722 g722ulaw au aualaw alaw alaw|al|alwulaw pcm pcm|ulaw|ul|mu|ulw29 file formats registered.9c5c45693e10*CLI> core show codecs audioDisclaimer: this command is for informational purposes only.It does not indicate anything about your configuration.ID TYPE NAME DESCRIPTION------------------------------------------------------------ ----------------------- 5 audio g726 (G.726 RFC3551)3 audio alaw (G.711 a-law)1 audio g723 (G.723.1)19 audio speex (SpeeX)20 audio speex (SpeeX 16khz)21 audio speex (SpeeX 32khz)23 audio g722 (G722)7 audio adpcm (Dialogic ADPCM)24 audio siren7 (ITU G.722.1 (Siren7, licensed from Polycom))27 audio g719 (ITU G.719)18 audio g729 (G.729A)8 audio slin (16 bit Signed Linear PCM)9 audio slin (16 bit Signed Linear PCM (12kHz))10 audio slin (16 bit Signed Linear PCM (16kHz))11 audio slin (16 bit Signed Linear PCM (24kHz))12 audio slin (16 bit Signed Linear PCM (32kHz))13 audio slin (16 bit Signed Linear PCM (44kHz))14 audio slin (16 bit Signed Linear PCM (48kHz))15 audio slin (16 bit Signed Linear PCM (96kHz))16 audio slin (16 bit Signed Linear PCM (192kHz))2 audio ulaw (G.711 u-law)17 audio lpc10 (LPC10)26 audio testlaw (G.711 test-law)39 audio none (<Null> codec)25 audio siren14 (ITU G.722.1 Annex C, (Siren14, licensed from Polycom))6 audio g726aal2 (G.726 AAL2)4 audio gsm (GSM)22 audio ilbc (iLBC)28 audio opus (Opus Codec)
_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@lists.digium.com
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk- app-dev
Kevin Harwell Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com & http://asterisk.org
_______________________________________________ asterisk-app-dev mailing list asterisk-app-dev@xxxxxxxxxxxxxxxx http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev