Category:Cisco Systems -> Voice
In this article some configuration examples of E1/T1 CAS/CCS are presented. The configuration commands are taken from open sources as well as from personal experience. You should modify the configuration to suit your own needs and security policies.
T1 CAS
List of commands to configure T1 CAS:
# show controllers t1
T1 1/0 is down.
Applique type is Channelized T1
Cablelength is long gain36 0db
Transmitter is sending remote alarm.
Receiver has loss of signal.
alarm-trigger is not set
Soaking time: 3, Clearance time: 10
AIS State:Clear LOS State:Clear LOF State:Clear
Version info Firmware: 20050620, FPGA: 20, spm_count = 0
Framing is SF, Line Code is AMI, Clock Source is Line.
Current port master clock:local osc on this network module
Data in current interval (215 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 215 Unavail Secs
# configure terminal
(config)# controller t1 1/0
(config-controller)# framing ?
esf Extended Superframe
sf Superframe
(config-controller)# framing esf
// Framing value is obtained from PSTN provider.
(config-controller)# linecode ?
ami AMI encoding
b8zs B8ZS encoding
(config-controller)# linecode b8zs
// Linecode value is obtained from PSTN provider.
(config-controller)# clock source ?
free-running Free Running Clock
internal Internal Clock
line Recovered Clock
(config-controller)# clock source line
// Allows to automatically get certain clock rates from PSTN service provider.
(config-controller)# ds0-group ?
Group Number
// ds0-group command defines channel as T1 CAS.
(config-controller)# ds0-group 1 ?
timeslots List of timeslots in the ds0-group
(config-controller)# ds0-group 1 timeslots ?
List of T1 timeslots
(config-controller)# ds0-group 1 timeslots 1-24 ?
type Specify the type of signaling
(config-controller)# ds0-group 1 timeslots 1-24 type ?
e&m-delay-dial E & M Delay Dial
e&m-fgd E & M Type II FGD
e&m-immediate-start E & M Immediate Start
e&m-lmr E & M land mobil radio
e&m-wink-start E & M Wink Start
ext-sig External Signaling
fgd-eana FGD-EANA BOC side
fxo-ground-start FXO Ground Start
fxo-loop-start FXO Loop Start
fxs-ground-start FXS Ground Start
fxs-loop-start FXS Loop Start
none Null Signalling for External Call Control
(config-controller)# ds0-group 1 timeslots 1-24 type fxo-loop-start ?
(config-controller)#^Z
# show voice port summary
IN OUT
PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC
====== == =========== ===== ==== ====== ====== ==
1/0:1 01 fxo-ls up down idle on-hook y
1/0:1 02 fxo-ls up down idle on-hook y
1/0:1 03 fxo-ls up down idle on-hook y
1/0:1 04 fxo-ls up down idle on-hook y
1/0:1 05 fxo-ls up down idle on-hook y
1/0:1 06 fxo-ls up down idle on-hook y
1/0:1 07 fxo-ls up down idle on-hook y
1/0:1 08 fxo-ls up down idle on-hook y
1/0:1 09 fxo-ls up down idle on-hook y
1/0:1 10 fxo-ls up down idle on-hook y
1/0:1 11 fxo-ls up down idle on-hook y
1/0:1 12 fxo-ls up down idle on-hook y
1/0:1 13 fxo-ls up down idle on-hook y
1/0:1 14 fxo-ls up down idle on-hook y
1/0:1 15 fxo-ls up down idle on-hook y
1/0:1 16 fxo-ls up down idle on-hook y
1/0:1 17 fxo-ls up down idle on-hook y
1/0:1 18 fxo-ls up down idle on-hook y
1/0:1 19 fxo-ls up down idle on-hook y
1/0:1 20 fxo-ls up down idle on-hook y
1/0:1 21 fxo-ls up down idle on-hook y
1/0:1 22 fxo-ls up down idle on-hook y
1/0:1 23 fxo-ls up down idle on-hook y
1/0:1 24 fxo-ls up down idle on-hook y
Summary:
configure terminal
controller t1 1/0
framing esf
linecode b8zs
clock source line
ds0-group 1 timeslots 1-24 type fxo-loop-start
Group number must belong to timeslot range. For example, you can make ds0-group 5 using timeslots 1-5 to connect to another PBX and use ds0-group 6 using timeslots 6-24 to connecto to PSTN like in the example below:
T1 CCS
T1 CCS is also known as ISDN PRI. To configure it use the following syntax:
(config)# isdn switch-type ?
primary-4ess Lucent 4ESS switch type for the U.S.
primary-5ess Lucent 5ESS switch type for the U.S.
primary-dms100 Northern Telecom DMS-100 switch type for the U.S.
primary-dpnss DPNSS switch type for Europe
primary-net5 NET5 switch type for UK, Europe, Asia and Australia
primary-ni National ISDN Switch type for the U.S.
primary-ntt NTT switch type for Japan
primary-qsig QSIG switch type
primary-ts014 TS014 switch type for Australia (obsolete)
(config)# isdn switch-type primary-5ess
(config)# controller t1 1/0
(config-controller)# pri-group ?
// pri-group command won't become available until ISDN type is chosen.
nfas_d Specify the operation of the D-channel timeslot.
service Specify the service type
timeslots List of timeslots in the pri-group
(config-controller)# pri-group timeslots ?
List of timeslots which comprise the pri-group
(config-controller)# pri-group timeslots 1-24 ?
nfas_d Specify the operation of the D-channel timeslot.
service Specify the service type
(config-controller)# pri-group timeslots 1-24
(config-controller)#^Z
# show voice port summary
IN OUT
PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC
===== == ========= ===== ==== ======= ======= ==
1/0:23 01 isdn-voice up dorm none none y
1/0:23 02 isdn-voice up dorm none none y
1/0:23 03 isdn-voice up dorm none none y
1/0:23 04 isdn-voice up dorm none none y
1/0:23 05 isdn-voice up dorm none none y
1/0:23 06 isdn-voice up dorm none none y
1/0:23 07 isdn-voice up dorm none none y
1/0:23 08 isdn-voice up dorm none none y
1/0:23 09 isdn-voice up dorm none none y
1/0:23 10 isdn-voice up dorm none none y
1/0:23 11 isdn-voice up dorm none none y
1/0:23 12 isdn-voice up dorm none none y
1/0:23 13 isdn-voice up dorm none none y
1/0:23 14 isdn-voice up dorm none none y
1/0:23 15 isdn-voice up dorm none none y
1/0:23 16 isdn-voice up dorm none none y
1/0:23 17 isdn-voice up dorm none none y
1/0:23 18 isdn-voice up dorm none none y
1/0:23 19 isdn-voice up dorm none none y
1/0:23 20 isdn-voice up dorm none none y
1/0:23 21 isdn-voice up dorm none none y
1/0:23 22 isdn-voice up dorm none none y
1/0:23 23 isdn-voice up dorm none none y
In 1/0:23, 23 is a signalling channel and it takes timeslot 24 because timeslots are numbered 1-24 and channels 0-23, so channels 23 equals timeslot 24.
Summary:
configure terminal
isdn switch-type primary-5ess
controller t1 1/0
pri-group timeslots 1-24
E1 CCS
configure terminal
isdn switch-type primary-net5
controller E1 0/0/0
framing NO-CRC4
pri-group timeslots 1-31
E1 CCS outbound call routing example:
dial-peer voice 1 pots
description OUTBOUND_calls_to_PBX
destination-pattern 1...
port 0/0/0:15
forward-digits all
!
dial-peer voice 2 pots
description OUTBOUND_calls_to_LongDist
destination-pattern 8..........
port 0/0/0:15
forward-digits all
!
dial-peer voice 3 pots
description OUTBOUND_calls_to_Local
destination-pattern [^8].....
port 0/0/0:15
forward-digits all
// Port 0/0/0:15 is a signalling port.