Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X
Post

Upgrade from Asterisk 1.2 to Asterisk 1.4 easily

So you’ve been stucked with Asterisk 1.2 and probably you’ve used vicidialnow 1.3.

Here’s a painless way to upgrade from Asterisk 1.2 to Asterisk 1.4 for your VICIDIAL.

First let’s create a directory.
cd /usr/src
mkdir asterisk1-4

Let’s get the VICIDIAL patched Asterisk.
cd asterisk1-4
wget http://download.vicidial.com/required-apps/asterisk-1.4.39.1-vici.tar.gz

How about zaptel and libpri?
wget http://downloads.digium.com/pub/zaptel/zaptel-1.4.12.1.tar.gz
wget http://downloads.digium.com/pub/libpri/libpri-1.4.9.tar.gz

Get the optional but VICIDIAL friendly sound addons
wget http://downloads.digium.com/pub/telephony/sounds/asterisk-core-sounds-en-ulaw-current.tar.gz
wget http://downloads.digium.com/pub/telephony/sounds/asterisk-core-sounds-en-wav-current.tar.gz
wget http://downloads.digium.com/pub/telephony/sounds/asterisk-core-sounds-en-gsm-current.tar.gz
wget http://downloads.digium.com/pub/telephony/sounds/asterisk-extra-sounds-en-ulaw-current.tar.gz
wget http://downloads.digium.com/pub/telephony/sounds/asterisk-extra-sounds-en-wav-current.tar.gz
wget http://downloads.digium.com/pub/telephony/sounds/asterisk-extra-sounds-en-gsm-current.tar.gz
wget http://download.vicidial.com/required-apps/asterisk-moh-freeplay-gsm.tar.gz
wget http://download.vicidial.com/required-apps/asterisk-moh-freeplay-ulaw.tar.gz
wget http://download.vicidial.com/required-apps/asterisk-moh-freeplay-wav.tar.gz

Now we start extracting the tar files
tar xvf asterisk-*.tar
tar xvf libpri-*.tar
tar xvf zaptel-*.tar

Be aware that you need to stop your Asterisk process first. Once stopped remove the module ztdummy(if you’re using one) zttranscode and zaptel. Here’s how
rmmod ztdummy zttranscode zaptel

Because most of the time zaptel crashes if you upgrade from Asterisk 1.2 to Asterisk 1.4, we delete the old zaptel directory at /lib/modules/$(uname -r) .

Now let’s start compiling!

Let’s do the libpri first!
cd /usr/src/asterisk1-4
cd libpri-1.4.10.1
make clean
make
make install

Went well? Let’s do zaptel.
cd ../zaptel-1.4.12.1
./configure
make clean
make
make install

If you haven’t encounter any errors yet. Let’s compile Asterisk 1.4.
cd ../asterisk-1.4.39.1-vici
./configure
make clean
make
make install

If you did not encounter any errors, it means your Asterisk 1.2 is now Asterisk 1.4!

Got more questions? Hit the comments. :)

Post

VICIDIAL for 500 seats Call Center.

Here’s some tips also on getting VICIDIAL stable for 500 seats center. (*Note I am currently the IT Manager of a 600+ seats call center here in the Philippines.)

VICIDIAL cluster per campaign.

Some outbound campaigns only have 10 agents some 30 agents some 50 agents and the biggest i have right now is 280 agents.

What I usually do is asks the expansion plan. If it will do 40 agents per shift from the start, I usually create a new cluster for it. If it is only 20 agents I do single server.

You will also need at least a team of dialer people who will upload leads /modify campaigns/check system status and a whole lot more for VICIDIAL.

When it comes to hardware, it all boils down to a quad core for the asterisks/vicidial and the biggest and the baddest server you can get your hand’s on for the database. I use an IBM m2 series with 320gb hard drive on raid10, 32gb ram and centos 64bit.

Although it’s a lot of servers to manage and purchase, the cost of VICIDIAL being fully functional and head-ache free can seriously help bring the CAPEX and OPEX lower than what you should be spending if you are using a closed source system.

And yes I usually get drunk on friday nights, can sleep far more than 8 hours a day and have a hobby other than computers.

I am also available as a VICIDIAL Consultant. Hit the contact link to contact me :D

Post

Load g729 without restarting asterisk.

Here’s how to load g729 codec without restarting your asterisk open source pbx.

Go to asterisk cli by typing:

asterisk -rv

Then type

module load codec_g729a.so

That’s it! check if the g729 is loaded by typing show translation or show g729

Images

270 Seats VICIDIAL Predictive Dialer

Here’s how it looks. 

Interested in hiring me? Use the contact link :)  
Post

The ugly way to WAN failover.

I’m just posting this for posterity sake.

So you have 2 NIC cards connected to different ISP. You wanted to have one to do a fail over once the other is dead.

Use this bash script.

#!/bin/bash
GW1=”192.168.10.254″
GW2=”192.168.55.254″
TESTIP=”192.71.220.10″ # Any reliable Internet ip that responds to ping.
CURGW=`/sbin/route -n |awk ‘/^0.0.0.0/ {print $2 }’`

if ping -w2 -c3 $TESTIP >/dev/null 2>&1; then
echo “Active ISP is Ok.”
else
if [ "$CURGW" = "$GW1" ]; then
NEWGW=”$GW2″
else
NEWGW=”$GW1″
fi
/sbin/route del default
/sbin/route add default gw $NEWGW
fi

Save and add it to your crontab.

Post

VICIDIAL version SVN 2.2.0 – Howto and howto not do it when you are hyperactive

Because it is New Year and one of my client asked me if I have updated the dev server to the svn version of VICIDIAL 2.2.0. I finally had time to do it. So off I go updating from VICIDIAL 2.0.5 to the new one. It is quite easy to update but I hit some horrifying bloopers.

So here’s what I did and the bloopers that came with it.

I checked out the svn version but first because vicidialNOW doesnt have subversion installed I installed it first.

yum install svn
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

It didn’t work

so I barely remembered that svn is called subversion so I tried it once again.

yum install subversion

Oh yes it worked! Now off I go downloading the SVN version of VICIDIAL 2.2.0

[root@vici ~]# svn checkout svn://svn.eflo.net:43690/agc_2-X/trunk
svn: Can't connect to host 'svn.eflo.net': Connection refused

More…

Post

How to configure Linksys SPA941 or Linksys SPA942

I found this video when someone asked me how to configure Linksys SPA941. I was about to join him on a teamviewer session when I found this video. I decided to share it with you guys.

Setting up a Linksys SPA-942 phone from Kerry Garrison on Vimeo.

Switch to our mobile site