350 likes | 551 Views
Welcome to… Getting Started With PIKA Fax for Asterisk ® & trixbox ® We will begin at 1pm EDT. Getting Started With PIKA Fax for Asterisk ® & trixbox ® Eric Pretlac Technical Support Engineer June 18, 2008. Before we get started. Audio – dial into the conference call
E N D
Welcome to…Getting Started WithPIKA Fax for Asterisk® & trixbox®We will begin at 1pm EDT
Getting Started WithPIKA Fax for Asterisk® & trixbox® Eric PretlacTechnical Support EngineerJune 18, 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 Asterisk, trixbox • What hardware is supported? • Fax features • Installing PIKA fax with trixbox • How to download files • Step-by-step installation • Dialplan syntax • Installing PIKA fax with “stock” Asterisk® • How to download files • Step-by-step installation • Dialplan syntax • Question & Answer
Terminology • What is a channel driver? • According to www.asterisk.org • “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 • On-board DSP • chan_pika • high density analog fxo / fxs cards • digital T1/E1 cards • fax with any Asterisk® compatible board!!
What you can do with PIKA Fax for Asterisk • Send and receive faxes (to a file) • Fax with any Asterisk® compatible board • e.g. PIKA, Digium, Sangoma, Rhino • Works with Asterisk® and trixbox
PIKA Fax = Reliable Fax • Same stack as our business class fax • Based on Commetrex fax technology • Broad range of fax machine compatibility • Case Study: Protus IP Solutions
PIKA’s Fax Features • Supports ITU-T T.30 • Supports ITU-T V.21, V.27ter, V.29 and V.17 modems for send and receive data rates up to 14.4 Kbps. • ECM (error correction mode) • Header and footers can be added by senders and receivers
PIKA’s Fax Features (cont’d) • Subscriber ID • T.4 and T.6 formats including: • Metric- and inch-based page sizes • All resolutions including 100x100, 200x200, 300x300 and 400x400 • MH, MR and MMR encoding • TIFF-F format
PIKA support for trixbox • PIKA supports trixbox CE 2.2, 2.4, 2.6 • PIKA hardware • Low Density Analog (4 fxo) • High density Analog Trunk/ fxo • High density Analog Station/ fxs • Digital T1/E1 PCI/PCIe
Download the files • Download and install trixbox • www.trixbox.org • Download and install PIKA files • using “yum install” • Installation instructions • www.pikatechnologies.com/asterisk
Installing chan_pika with trixbox • Install the PIKA card [ optional ] • # yum install pika-repo • # yum install pika_aoh_* • # yum install chan_pika-3* • # pikalm [ to install fax licenses ] • Use FreePBX to configure a fax extension • add [custom-pikafax] to extensions_custom.conf • Add Extension: Other (Custom) Device • dial: Local/s@custom-pikafax • General Settings: PIKA fax <9998> • Restart asterisk
Using PIKA fax in your Dialplan - Receiving [custom-pikafax] exten => s,1,Wait(1) exten => s,n,NoOp(Answer from a PSTN port) exten => s,n,Answer exten => s,n,Wait(1) exten => s,n,Set(LOCALSTATIONID=1078) exten => s,n,Set(LOCALHEADERINFO= "PIKARxFax Test Page %P Time: %H:%M To: %l From: %r") exten => s,n,Set(FAXFILE=/tmp/pikafax-${UNIQUEID}.tif) exten => s,n,Wait(1) exten => s,n,PIKARxFax(${FAXFILE}) exten => s,n,NoOp(${REMOTESTATIONID}) exten => s,n,NoOp(${FAXPAGES}) exten => s,n,NoOp(${FAXBITRATE}) exten => s,n,NoOp(${FAXRESOLUTION}) exten => s,n,Hangup
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 • www.asterisk.org • Download PIKA files • www.pikatechnologies.com/asterisk
Installing chan_pika • Extract Asterisk source # tar -zxf asterisk-1.4.17.tar.gz -C /usr/src/ • Extract Zaptel source # tar -zxf zaptel-1.4.7.tar.gz -C /usr/src/ • PIKA uses ztdummy module • Extract PIKA channel driver source # tar -zxf chan_pika-3.3.0.tgz -C /usr/src/
chan_pika (cont’d) • Physically install the PIKA board • Install the PIKA board driver and SDK # cd /usr/src/chan_pika-3.3.0 # ./pikaaoh-2.2.8-linux-installer • Activate PIKA fax licenses # pikalm • Enter the license string emailed to you
Installing chan_pika (cont’d) • Build and install Zaptel #./configure && make && make install • Build and install Asterisk #./configure && make && make install • Build and install chan_pika # cd /usr/src/chan_pika-3.3.0 # ./configure && make && make install • Configure chan_pika # make config
Using PIKA fax in your Dialplan - Receiving [custom-pikafax] exten => s,1,Wait(1) exten => s,n,NoOp(Answer from a PSTN port) exten => s,n,Answer exten => s,n,Wait(1) exten => s,n,Set(LOCALSTATIONID=1078) exten => s,n,Set(LOCALHEADERINFO= "PIKARxFax Test Page %P Time: %H:%M To: %l From: %r") exten => s,n,Set(FAXFILE=/tmp/pikafax-${UNIQUEID}.tif) exten => s,n,Wait(1) exten => s,n,PIKARxFax(${FAXFILE}) exten => s,n,NoOp(${REMOTESTATIONID}) exten => s,n,NoOp(${FAXPAGES}) exten => s,n,NoOp(${FAXBITRATE}) exten => s,n,NoOp(${FAXRESOLUTION}) exten => s,n,Hangup
Using PIKA fax in your Dialplan - Sending [outgoing] exten => s,1,Dial(Zap/g0/6135551234) exten => s,n,Set(LOCALSTATIONID=1078) exten => s,n,Set(LOCALHEADERINFO= "PIKARxFax Test Page %P Time: %H:%M To: %l From: %r") exten => s,n,Set(FAXFILE=/tmp/pikafax.tif) exten => s,n,Wait(1) exten => s,n,PikaTxFax(${FAXFILE}) exten => s,n,Hangup
Installing PIKA fax – Last Step! • Start Asterisk • To verify that Pika fax applications have been successfully installed: *CLI> show applications PikaRxFax and PikaTxFax *CLI> pika show version PIKA Channel Driver for Asterisk 3.3.0.194 GrandPrix version: 2.4.0.100 AoH version: 2.4.0.130
Why choose PIKA Fax for Asterisk? • Easy to install • Accessible Support • Reliable, market proven performance • High Density • Low cost
Agenda • What is a channel driver? • What is supported? • trixbox 2.2, 2.4, 2.6 • Asterisk 1.2 & 1.4 • PIKA hardware + 3rd party • Fax features • Installing PIKA fax with trixbox • How to download files • Step-by-step installation • Dialplan syntax • Installing PIKA fax with “stock” Asterisk® • How and where to download files • Step-by-step installation • Dialplan syntax • Question & Answer
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 : +1-613-591-1555 • Dial “2” for Support • Skype: pikatechnologies • Email: support@pikatech.com
Upcoming PIKA Technical Webinars www.pikatech.com 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.