Welcome to… Getting Started With PIKA channel driver for Asterisk ® We will begin at 1pm EDT
Getting Started With PIKA channel driver for Asterisk ® Eric Pretlac Technical Support Engineer Feb 06, 2008
Before we get started Audio – dial into the conference call Send questions at any time during webinar Question and Answer window Type in question, hit send Answered at the end Disable pop-up blockers
Agenda What is a channel driver? What is supported? Versions of trixbox, Asterisk Which PIKA cards are supported? Installing PIKA with trixbox How to download files Step-by-step installation Dialplan syntax Installing PIKA with “stock” Asterisk ® How to download files Step-by-step installation Dialplan syntax Question & Answer
Terminology What is a channel driver? According to “Each call into Asterisk ® must come in through a channel driver that supports a technology like SIP, ZAP, IAX2 etc.” Program that allows PIKA cards to work with Asterisk ®
PIKA Terminology chan_pika_dsp low density analog (4 port fxo) card chan_pika high density analog fxo/fxs cards digital T1/E1 cards
Installing PIKA with trixbox
PIKA support for trixbox PIKA supports trixbox CE 2.2 & 2.4 PIKA hardware Low Density Analog (4 fxo) High density Analog Trunk/ fxo High density Analog Station/ fxs Digital T1/E1 PCI/PCIe
PIKA Hardware for Asterisk ®
Download the files Download and install trixbox Download and install PIKA files using “yum install” Installation instructions
trixbox installation chan_pika_dsp
Installing chan_pika_dsp with trixbox 1.Install the PIKA card 2.# yum install pika-repo 3.# yum install pika_aob_* 4.# yum install chan_pika_dsp* installs and configures cards to a default usable state. 5.Change pika_dsp.conf -- the context must be from-pstn 6.Use trixbox to configure your dialplan and extensions. FreePBX: Add Custom TRUNK with Custom Dial String PIKA_DSP/g/0/$OUTNUM$ 7.Restart asterisk or reboot machine.
Installing chan_pika with trixbox 1.Install the PIKA card 2.# yum install pika-repo 3.# yum install pika_aoh_* 4.# yum install chan_pika-3* 5.# pikacf [Optional: to configure as E1 instead of T1] 6.Change pika.conf -- the context must be from-pstn 7.Use trixbox to configure your dialplan and extensions. FreePBX: Add Custom TRUNK with Custom Dial String PIKA high density analog cards: PIKA/fxo/g0/$OUTNUM$ PIKA digital cards: PIKA/digital/g0/$OUTNUM$ 8.Restart asterisk or reboot machine
Installing PIKA with “stock” Asterisk
PIKA support for Asterisk ® PIKA supports Asterisk 1.2 and 1.4 PIKA hardware Low Density Analog (4 fxo) High density Analog Trunk/ fxo High density Analog Station/ fxs Digital T1/E1 PCI/PCIe
Before you begin… gcc and glibc must be installed Kernel source must be installed Must disable SElinux Any 32-bit distro using kernel 2.6+ Must use the smp kernel (chan_pika) PIKA scripts check all of this!
Download the files Full instructions are in the INSTALL doc on our website (and in the download) Download Zaptel and Asterisk source Download PIKA files
Installing chan_pika_dsp
1.Extract Asterisk source # tar -zxf asterisk tar.gz -C /usr/src/ 2.Extract Zaptel source # tar -zxf zaptel tar.gz -C /usr/src PIKA uses ztdummy module 3.Extract PIKA channel driver source # tar -zxf chan_pika_dsp tgz -C /usr/src/
chan_pika_dsp (cont’d) 4.Physically install the PIKA board 5.Install the PIKA board driver and SDK # cd /usr/src/chan_pika_dsp #./pikaaob linux-installer 6.Log out and log back in Debian & RedHat-based systems (CentOS) Allows environment variables to be set
Installing chan_pika_dsp 7.Apply PIKA's patch to Asterisk # cd /usr/src/asterisk # patch -p0 <../chan_pika_dsp-3.0.3/patch-1.4.diff Asterisk 1.4.x use patch-1.4.diff Asterisk 1.2.x use patch-1.2.diff
Installing chan_pika_dsp 8.Build and install Zaptel # cd /usr/src/zaptel #./configure && make && make install 9.Build and install Asterisk # cd /usr/src/asterisk #./configure && make && make install 10.Build and install chan_pika_dsp # cd /usr/src/chan_pika_dsp #./configure && make && make install 11.Configure chan_pika_dsp # make config
Using PIKA in Your Dialplan 12.Modify your dialplan (extensions.conf) Dial(PIKA_DSP/t/1/6002/…) Dial(PIKA_DSP/g/1/6002/…) Dial(PIKA_DSP/b0/t/4/6002/…) Dialplan examples website PIKA manpage
Installing chan_pika
1.Extract Asterisk source # tar -zxf asterisk tar.gz -C /usr/src/ 2.Extract Zaptel source # tar -zxf zaptel tar.gz -C /usr/src/ PIKA uses ztdummy module 3.Extract PIKA channel driver source # tar -zxf chan_pika tgz -C /usr/src/
chan_pika (cont’d) 4.Physically install the PIKA board 5.Install the PIKA board driver and SDK # cd /usr/src/chan_pika #./pikaaoh linux-installer 6.Activate licenses (Optional) Only if you need extra channels (or PIKA FAX) New boards include on-board licenses
Installing chan_pika (cont’d) 7.Build and install Zaptel #./configure && make && make install 8.Build and install Asterisk #./configure && make && make install 9.Build and install chan_pika # cd /usr/src/chan_pika #./configure && make && make install 10.Configure chan_pika # make config
Using PIKA in Your Dialplan 11.Modify your dialplan (extensions.conf) Dial(PIKA/digital/g0/ ) Dial(PIKA/fxo/g1/ ) Dial(PIKA/fxs/g1/102) Dialplan examples website PIKA manpage
Summary What is a channel driver? What is supported? trixbox CE 2.2 & 2.4 Asterisk 1.2 & 1.4 PIKA cards supported Installing PIKA with trixbox How to download files Step-by-step installation Dialplan syntax Installing PIKA with “stock” Asterisk ® How to download files Step-by-step installation Dialplan syntax
Question & Answer We invite you to ask questions. Enter your question in the Question and Answer window. Send to LEADER. We’ll answer as many questions as we have time.
Contact Us Support Mon-Fri 6:00 a.m. to 5:00 p.m. EST/EDT Phone : Dial “2” for Support Skype: pikatechnologiespikatechnologies
Upcoming PIKA Technical Webinars NEWS & EVENTS / Technical Webinars
Before you go.. Please fill out the on-line survey Tell us how we did Give us suggestions for future topics
Thank you for your time.