[asterisk-app-dev] Clicks in audio
Naftoli Gugenheim
naftoligug at gmail.com
Mon Oct 9 11:17:15 CDT 2017
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 at chavrusa-main:~$ docker-compose exec asterisk asterisk -r
Asterisk certified/13.1-cert4, Copyright (C) 1999 - 2014, Digium, Inc. and
others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk certified/13.1-cert4 currently running on
9c5c45693e10 (pid = 17)
9c5c45693e10*CLI> core show version
Asterisk certified/13.1-cert4 built by root @ 2dcc79fb8a1e on a x86_64
running Linux on 2016-03-03 08:25:13 UTC
9c5c45693e10*CLI> core show file formats
Format Name Extensions
------ ---- ----------
siren7 siren7 siren7
g719 g719 g719
h264 h264 h264
siren14 siren14 siren14
h263 h263 h263
gsm gsm gsm
gsm wav49 WAV|wav49
ilbc iLBC ilbc
slin192 sln192 sln192
slin96 sln96 sln96
slin48 sln48 sln48
slin44 sln44 sln44
slin32 sln32 sln32
slin24 sln24 sln24
slin16 sln16 sln16
slin12 sln12 sln12
slin sln sln|raw
slin16 wav16 wav16
slin wav wav
g723 g723sf g723|g723sf
g729 g729 g729
g726 g726-16 g726-16
g726 g726-24 g726-24
g726 g726-32 g726-32
g726 g726-40 g726-40
g722 g722 g722
ulaw au au
alaw alaw alaw|al|alw
ulaw pcm pcm|ulaw|ul|mu|ulw
29 file formats registered.
9c5c45693e10*CLI> core show codecs audio
Disclaimer: 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20171009/37c85dcc/attachment.html>
More information about the asterisk-app-dev
mailing list