Asterisk PBX To CS1000
Asterisk PBX To CS1000
Asterisk PBX To CS1000
Introduction
This document is an ongoing effort to assist the VoIP community in integrating IP to existing costly and proprietary
TDM-based PBX systems. These integrations are popular as businesses desire the need for new technology while
needing to protect existing capital investment in their telecommunications equipment. Many of you may find
Asterisk to be a suitable alternative to your PBX manufacturers proprietary and costly IP integration solutions.
Please keep in mind that there will be features that are standard on your traditional PBX that may not be available or
compatible with Asterisk. At the same time, there will be new features in Asterisk that are not normally available on
your traditional PBX. Some degree of engineering combined with a little bit of art will be required to successfully
integrate these systems. As a result, we welcome all comments and suggestions to be e-mailed to [email protected]
as we continually update and perfect documentation of these integration procedures.
Prerequisite
Common Equipment Action Device & No. Routes Route List Coord. Dial Plan
LD 22 LD 22 LD 21 LD 86 LD 87
REQ PRT REQ PRT REQ PRT REQ PRT REQ PRT
TYPE CEQU TYPE ADAN TYPE RDB FEAT RLB FEAT CDP
TYPE DSC
Build PRI Loop
LD 17
REQ CHG
TYPE CEQU (Common Equipment)
- TDS
- CONF
- DLOP x 23 ESF (x = loop #, 23 = # of voice ch., ESF = frame fmt.)
- MODE PRI
-- TMDI YES
-- LCMT B8S
LD 17
REQ CHG
TYPE ADAN (Action Device and Number)
- ADAN NEW DCH x (x = DCH to be used)
- CTYP TMDI
- CDNO x (x = TMDI card number)
- DES ASTERISK_VOIP
- USR PRI
- IFC ESS5 (Lucent 5ESS switch-type)
- CO_TYPE STD
-- DCHL x (x = D-channel PRI loop #)
- PRI
- OTBF
- DRAT 64KC
- CLOK INT (clock internallycheck your clocking source)
- SIDE USR
- CNEG 1
- RLS 1
- RCAP ND2
- OVLR
- OVLS
- MBGA
- TIMR
- LAPD
LD 23
REQ NEW
TYPE ACD
CUST 0
ACDN xxxx (xxxx = Phantom ACD #)
MWC NO
DSAC NO
MAXP 4 (Allow 4 maximum ports)
SDNB NO
BSCW NO
ISAP NO
AACQ NO
RGAI NO
ACAA NO
FRRT
SRRT
NRRT
FROA NO
NCFW xxxx (xxxx = Meridian Mail DN)
FNCF NO
FORC NO
RTQT 0
SPCP YES
OBTN NO
RAO NO
CWTH 1
NCWL NO
BYTH 0
OVTH 2047
TOFT NONE
HPQ NO
OCN NO
OVDN
IFDN
OVBU LNK LNK LNK LNK
EMRT
MURT
RTPC NO
STIO
TSFT 20
HOML YES
RDNA NO
NRAC NO
DAL NO
RPRT NO (Disable ACD reporting)
RAGT 4
DURT 30
RSND 4
FCTH 20
CRQS 100
IVR NO
/etc/zaptel.conf
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
#
# First come the span definitions, in the format
# span=<span num>,<timing>,<line build out (LBO)>,<framing>,<coding>[,yellow]
#
# The timing parameter determines the selection of primary, secondary, and
# so on sync sources. If this span should be considered a primary sync
# source, then give it a value of "1". For a secondary, use "2", and so on.
# To not use this as a sync source, just use "0"
#
# The line build-out (or LBO) is an integer, from the following table:
# 0: 0 db (CSU) / 0-133 feet (DSX-1)
# 1: 133-266 feet (DSX-1)
# 2: 266-399 feet (DSX-1)
# 3: 399-533 feet (DSX-1)
# 4: 533-655 feet (DSX-1)
# 5: -7.5db (CSU)
# 6: -15db (CSU)
# 7: -22.5db (CSU)
#
# The framing is one of "d4" or "esf" for T1 or "cas" or "ccs" for E1
#
# Note: "d4" could be referred to as "sf" or "superframe"
#
# The coding is one of "ami" or "b8zs" for T1 or "ami" or "hdb3" for E1
#
# E1's may have the additional keyword "crc4" to enable CRC4 checking
#
# If the keyword "yellow" follows, yellow alarm is transmitted when no
# channels are open.
#
span=1,1,0,esf,b8zs ; see above for information
bchan=1-23 ; B-channel range
dchan=24 ; D-channel number
loadzone = us
defaultzone=us
/etc/asterisk/zapata.conf
; Zapata telephony interface
; Configuration file
[channels]
D-Channel statistics
LD 96
STAT DCH x (x = DCH)
Clocking or improper line coding? Verify frame slips, bipolar violations, etc.
LD 60
LCNT x (x = loop number) Views loop counters
LD 96
ENL MSGI x (x = DCH) Enables Incoming DCH Messages
ENL MSGO x (x = DCH) Enables Outgoing DCH Messages
LD 80
This will give information on any call present on the DN or indicate idle, it is possible to enter the ACOD of a route
as a DN and this will result in an indication of the condition either idle or busy of every trunk member of the route.
.trac l ch (where l is the loop and ch is the channel of a particular digital trunk member) \
This is useful when after tracing an ACOD of a digital route, ISDN, DPNSS or similar, you may then trace any of
the channels marked busy to check their call status.
This will give details of any calls on the TN and if it is a digital set the status of every key.
LD 96
DIS TMDI x ALL (x = TMDI card #) Disables TMDI card
ENL TMDI x FDL (x = TMDI card #) Enables TMDI & force DL
LD 96
DIS DCH x ALL (x = DCH #) Disables DCH
ENL DCH x FDL (x = DCH #) Disables DCH & Force Download
LD 60
DIS x (x = loop number) Disables span
ENL x (x = loop number) Enables span
1. First try to disable, reseat, re-enable card with force download (FDL) of D-channel.
2. If you need to make changes to configuration records, it is always best practice to OUT your
configuration and recreate NEW configurations. Keep this in mind especially when attempting to
change your switch types in LD 17 ADAN and LD 16 RDB. This process is just as sensitive as
working with ACD records if not more.
3. Do not commit changes LD 43 EDD until you are certain there are no complications. As worst case
scenario, you can still INI your switch to revert back to old settings since last midnights batches or the
last EDD if you are caught in an extremely bad situation. However, we do not recommend frequent INI
of the switch as it can also cause fatal problems.
Troubleshooting Asterisk
Getting Asterisk configured is much straightforward than Nortel. Here are some simple diagnostic procedures:
Useful References