How to configure Allo 3rd Generation Card in Asterisk
ALLO 3rd Generation card asterisk config
Topic: How to configure Allo 3rd Generation Card in Asterisk
Overview: Allo-Asterisk-Vicidial
Asterisk
Asterisk is a free and No:1 open source framework for building communications applications and is sponsored by Sangoma.
Vicidial
VICIDIAL is a software suite that is designed to interact with the Asterisk Open-Source PBX Phone system to act as a complete inbound/outbound contact center suite with inbound email support as well.
The Following tutorial will help you in configuring the Allo 3rd gen upgradeable PRI card in vicidiail goautodial or asterisk based pbx's
Steps to configure Allo 3rd gen card
1. Uninstalling the existing Dahdi driver
2. Allo card Licensing
3. Installing the Allo patched Dahdi driver
4. configuring the Card
5. dialplan
Step 1: Removing the existing Dahdi driver
Follow step 1 from the below link for the uninstalling the Dahdi driver
https://www.striker24x7.com/2013/05/steps-to-reinstall-or-upgrade-dahdi.html
Step 2: Allo Card Licensing
- Log on to the https://license.allo.com
- Enter the particular details of the card (Serial Number) along with your Email id, Phonenumber, and select the country.
- Click generate license button, to generate the license.
- After submitting, user will receive the license to the email id provided.
- Download and copy the License file to the machine where the card is being installed in the following directory “lib/firmware”. (use winscp to copy the file)
Step 3 : Installing the Allo patched Dahdi driver
- Download the latest dahdi driver from the below link
https://allo.com/pri-upgradable-card.html
- as of this tutorial i am using dahdi 2.10.0.1 - download-link
cd /usr/srcwget https://www.allo.com/dahdi/releases/dahdi-linux-complete-2.10.0.1+2.10.0.1.tar.gztar -xvzf dahdi-linux-complete-2.10.0.1+2.10.0.1.tar.gzcd dahdi-linux-complete-2.10.0.1+2.10.0.1make cleanmake allmake install
** now the dahdi driver is installed , we need to add the allo driver name in the dahdi module file
** type in console
vi /etc/dahdi/modules
at the last line add
alloPL4xxpsave and exit .
Step 4 : configuring the Card
dahdi_genconf -vvv
make sure you will get the below output
vi /etc/asterisk/chan_dahdi.conf
add #include dahdi-channels.conf at the last line fo chan_dahdi.conf file ,
save and exit.
dahdi_cfg -vvv
asterisk -vvvvvrgoautodial>module unload chan_dahdi.sogoautodial>module load chan_dahdi.so
goautodial>dahdi show statusgoautodial>pri show spans
Step 5 : dialplan for those using vicidial or goautodial or plain asterisk.
Add the following dialplan in the extensions.conf (vi /etc/asterisk/extensions.conf)
under the context [default]
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)exten => _9X.,2,Dial(DAHDI/G0/${EXTEN:1},,tTor)exten => _9X.,3,Hangup
note: for those using Freepbx, elastix use the gui to configure the trunk .
Note : For inbound setup in vicidial or goautodial , change the context from-pstn to trunkinbound in vi /etc/asterisk/dahdi-channels.conf