Configure Allo 3rd gen PRI Card in VICIdial, Goautodial and Asterisk

The Following tutorial will help you in configuring the Allo 3rd gen upgradeable PRI card in VICIdial, Goautodial and other Asterisk based PBX.

Steps:

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 this article for “Tutorial on How to uninstall the Dahdi Driver”

Step 2: Allo Card Licensing

  • Log on to the http://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
http://allo.com/pri-upgradable-card.html

cd /usr/src
wget http://www.allo.com/dahdi/releases/dahdi-linux-complete-2.10.0.1+2.10.0.1.tar.gz
tar -xvzf dahdi-linux-complete-2.10.0.1+2.10.0.1.tar.gz
cd dahdi-linux-complete-2.10.0.1+2.10.0.1
make clean
make all
make 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 alloPL4xxp
save and exit .

Step 4 : configuring the Card

Now type

dahdi_genconf -vvv

make sure you will get the below output

Now type
vi /etc/asterisk/chan_dahdi.conf

add #include dahdi-channels.conf at the last line in chan_dahdi.conf file ,
save and exit.

Now type
dahdi_cfg -vvv

*** this displays the channels configured

Reloading the module in asterisk
go to asterisk cli by typing
      asterisk -vvvvvr
      goautodial>module unload chan_dahdi.so
      goautodial>module load chan_dahdi.so

Checking the status of the Card and pri line
goautodial>dahdi show status
      goautodial>pri show spans

*** Now the card is configured and ready to dial.

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 inbound setup in vicidial or goautodial , change the context from-pstn to trunkinbound in vi /etc/asterisk/dahdi-channels.conf



Author: Kaushal Kumar
I am a Server-side Linux & Web Technologies professional. I dedicate my full time working towards the overall success of my client's Businesses. I help my clients with their business communications, CRM & ERP, Internet Marketing etc. Want to work together: I'd love to hear from you.

Leave a Reply

This website uses cookies and asks your personal data to enhance your browsing experience. We are committed to protecting your privacy and ensuring your data is handled in compliance with the General Data Protection Regulation (GDPR).