Re: Clicks in audio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi, thanks for replying.

1. I have opened the files in audacity. When I play it on my computer I can't hear anything like the popping sound. Visually I'm not really sure what to look for. I mean I can't see a some that looks like it would account for such a loud pop.
2. Not all prompts have the issue, so it's definitely particular to certain files, however I'm not sure what it is about those files that's triggering it.
3. I'm skeptical of dropped packets since the same issue happens when I'm running everything on my laptop (the fastagi app, asterisk, and the sip phone)

I attached public links to the files (the second link is the source audio files). Maybe someone that knows a bit more about audio files can look at them?

On Tue, Oct 17, 2017, 11:45 AM Kevin Harwell <kharwell@xxxxxxxxxx> wrote:
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:

Here are the files from the server that it uses:

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 -r
Asterisk 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 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.
       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

Kevin Harwell
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: &
asterisk-app-dev mailing list
asterisk-app-dev mailing list

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux