Home > Old Post dari Unilanet > asterisk + PABX + Seru Coy……..

asterisk + PABX + Seru Coy……..


Original Link : http://unilanet.unila.ac.id/~gigih/index.php?option=com_content&task=view&id=39&Itemid=36

Setelah sekian lama ngoprekin VOIP server,  http://voip.unila.ac.id
ada tantangan baru yaitu gimana ceritanya si Server Bisa ngobrol dengan Mesin PABX analog Siemens Kepunyaan UNILA.

Awalnya UNILA  membelikan Wellgate 3504 A FXS  untuk Gatewaynya, berhubung  kalo ngoprekin FXS ini mesti ngobrol sama admin Siemens PABX
pasti ribet dalam hal bikin trunk baru

Bermodal akses ke internet, tanya ke mbah google, chatting sana sini
akhirnya hatiku tertuju pada card FXO yang murah meriah
Yaitu Wild card X100P.

OK lets Play………….. babe….. 1: Install Trixbox. Please refer to  http://www.trixbox.org for installation
instructions.

2: Power off your computer and pull out the power cable. Insert the
AX-100p card into a spare  PCI slot and secure it with a  screw.

3: Switch on  your PC and type the following command in the Linux CLI

[root]# genzaptelconf
Trixbox will now auto install the AX-100p driver and the following
information will be displayed on screen

Loading wcfxo: wcfxo: DAA mode is “FCC”
Found a Wildcard FXO: Wildcard X100P.

This indicates that AX-100p has been found by Trixbox.

4:check the AX-100p status with the command line utility zttool.*

// <![CDATA[// <![CDATA[

var prefix = 'ma' + 'il' + 'to';
var path = 'hr' + 'ef' + '=';
var addy82273 = 'root' + '@';
addy82273 = addy82273 + 'voip' + '.' + 'unila';
document.write( '‘ );
document.write( addy82273 );
document.write( ” );
// ]]>[root]# zttool

Genzaptelconf will also update the zapata-auto.conf file located within
the etc/asterisk directory. Another method of determining a successful
install is to check if this file resembles the one below.

; Span 1: WCFXO/0 “Wildcard X100P Board 1” RED
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
context=from-pstn
group=0
channel => 1

5: Amend the Zapata.conf to include any customisations that you require.

Possible additions include:

echocancel=yes
echocancelwhenbridged=yes
echotraining=yes

6: Configure an outbound call Trunk by modifying the default Trunk
ZAP/g0.This can be found at Trixbox – FreePBX – Trunk
Input  your PSTN number in the Outbound Caller ID
Set the Maximum Channels to 1.
Set the Outbound Dial Prefix to 9
Configure your Zap Identifier to 1 (this will change your AX-100p channels
from g0 to channel 1)

* You may also wish to change the following in etc/zaptel.conf

loadzone = uk
defaultzone = uk

Further tests

dmesg – check if the card has been detected correctly by Linux
lspci – check if the card is listed

Tips

Where possible ensure that the card has a unique IRQ. Where it has been
allocated a shared IRQ, enter your computer BIOS and change.

ATCOM example installation instructions for an AX-100P card in an Asterisk
based system

From the command prompt on your Linux system, change directories to  /usr/src

> cd /usr/src

Download the latest CVS release of the Zapata, asterisk package

> export CVSROOT=:pserver:

// <![CDATA[// <![CDATA[

var prefix = 'ma' + 'il' + 'to';
var path = 'hr' + 'ef' + '=';
var addy28157 = 'anoncvs' + '@';
addy28157 = addy28157 + 'cvs' + '.' + 'digium' + '.' + 'com';
document.write( '
‘ );
document.write( addy28157 );
document.write( ” );
// ]]>
anoncvs@cvs.digium.com

This email address is being protected from spam bots, you need Javascript enabled to view it
:/usr/cvsroot
> cvs login (password is anoncvs)
> cvs checkout zaptel asterisk

Compile all the packages in the following order: zaptel first, then asterisk

> cd /usr/src/zaptel; make install
> cd ../asterisk; make install
> make samples

Edit the configuration files detailed below and make sure that they
include the following:

/etc/zaptel.conf
fxsks=1 ;AX-100P
defaultzone=uk
loadzone=uk

/etc/asterisk/zapata.conf
[channels]
signalling=fxs_ks
context=incoming
channel=>1 ; AX-100P

/etc/asterisk/extensions.conf
[incoming]
exten => s,1,Echo ;for testing the connection
;exten => s,1,Playback,demo-thanks ;for playing a file

Load the appropriate modules

> modprobe zaptel
> modprobe wcfxo
> ztcfg -vv

Note: You may run “make configs” in /usr/src/zaptel to install boot-up
scripts so that you don’t have to modprobe the drivers manually. That
works well for RedHat 9.0.

The installation is now complete and you can now run Asterisk

> asterisk -vvvc

You can now test the  analogue phone line connected to the AX-100P and you
should be able to hear yourself (with the Echo application) or play a file
(with Playback application).

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: