Tuesday, November 22, 2016

Long Silence at the Start of Inbound Calls

It's my first time setting up an inbound call and I ran into a problem where after the initial 2 rings, there's a long silence before the greeting plays. The longest was 17 seconds!

If I were the customer and there was no sound for 17 seconds, I'd hang up immediately. Customers hanging up mid-way isn't a good thing, of course.

Here are the steps I did to remedy the situation:
  1. Make sure the DID points to the IP address you need: It will take longer to route the calls to the right place if you have 2 or more servers. I had our DID provider remove the 4 other unnecessary IP addresses which shaved off 10 seconds.
  2. [Update: Don't do this! I ended up having a lot of outbound calls dropped because asterisk couldn't find this file] Remove sip-silence.gsm from the sequence: Observing asterisk logs, when an inbound call arrives, sip-silence.gsm is played twice before the first greeting. I'm too scared to tinker with the asterisk script (it's a really long text of code) and remove the 2 lines of sip-silence. Instead, I just renamed sip-silence.gsm into sip-silence2.gsm so it would skip playing that file. This shaved off another 3 seconds. Aside from removing sip-silence.gsm, I was thinking of replacing it with a ringing sound. However, I can't find the default ringing sound in the asterisk folder, so I chose to just remove sip-silence.gsm instead.
From 17 seconds of long silence, I was able to cut it down to 4 seconds of silence.

Tuesday, November 8, 2016

Converting Sound Files to WAV for Vicidial

I felt like I should post what settings I put in to convert sound files to .wav for Vicidial (For call menus and voicemail greeting). I did it the last time, but I forgot it today. Now, I'm taking down notes so I won't forget in the future.

Link to Online Converter:
http://audio.online-convert.com/convert-to-wav

Settings Needed:

  • Change Bit Resolution: 16 Bit
  • Change Sampling Rate: 8000 Hz
  • Change Audio Channels: Mono
  • PCM Format (Under advanced options): PCM Unsigned 8-bit
Anything else higher than this won't work.