The command ds0-group 1 timeslots 2 type r2-digital
r2-compelled ani needs to be used intially only to create the
ds0-group. The cas-custom command with group number
can be used whenever needed in order to customize the group.

Cisco recommends that you first configure the country
country name use-default parameter to set
all related parameters accordingly to the country supported. Use the other
cas-custom subcommands for further customization
required in order to accommodate a certain private branch exchange (PBX) or
switch.

Note: The flexibility to customize the CAS parameters can increase the
margin of user errors. Customization needs to be entered after the country has
been selected, or the CAS parameters return to default. In this example, the
last statement returns all CAS parameters to the default settings for Brazil
which voids the caller-digits 4 command:

Now that you know how to view the cas-custom
command parameters, this table details these parameters and their respective
uses.

Command Parameter

Description

ani-digits min 0-64 max
0-64

If your router does not receive the minimum number of automatic
number identification (ANI) digits, it clears the call. After the router
collects the maximum number of ANI digits, it sends Caller ID End and does not
wait for the Forward Group-I-15 signal.

ani-timeout 1-15 seconds

Default last-tone-timeout is three seconds. Some switches take
longer than three seconds to pulse out ANI digits. Therefore, this is made
configurable. If the router times out while it waits for ANI digits and aborts
the call, increase this timer argument.

caller-digits
1-64

International Telecommunication Union (ITU) default is 1. This
means that the router requests ANI after it receives the first Dialed Number
Information Service (DNIS) digit.

groupa-callerid-end

Countries like China, Thailand, and Mexico use Group-C signals
for ANI collection. If this is configured, the router uses the Backward
Group-A-1 signal as Caller ID End. If it is not configured, the router uses the
country default, which might be a Group-C signal.

kA
1-15

This is used in China. This is the category of the calling
party sent in response to Backward Group-A-6 signal. For incoming calls, the
router collects the kA value. For outgoing calls, the router sends kA if
configured. Otherwise, the router sends the default category for the country.

kd 1-15

This is used in China. This is the category sent in response to
Backward Group-A-3 signal. For incoming calls, the router collects the kd
value. For outgoing calls, the router sends kd if configured. Otherwise, it
sends the default category for the country.

dnis-digits min 1 max 1-64

If the router does not know the number of DNIS digits
beforehand, it has to rely on a timeout mechanism (three seconds) in order to
detect the end of DNIS. The configuration of max speeds up the call setup time
by three seconds.

dnis-complete

Sends Forward Group-I-15 signal after dialing out all the DNIS
digits. Effective for outgoing calls only. Configure this if the switch
requires it, or if it improves call setup time by three seconds. The
dnis-complete parameter is a
requirement on the switch side. For instance, in the Philippines, if the
Forward Group-I-15 signal is not sent, outgoing calls do not complete.
Therefore, this was implemented.

answer-signal {group-a | group-b}
1-15

By default, the router sends Backward Group-A-3 (address
complete, change over to Group-B) after DNIS/ANI collection. When a switch
sends the Group-II category, the router sends a Group-B answer signal and
connects. If Group-A answer signal (A-6) is configured, then the router does
not send A-3 after address collection. It sends A-6 and then connects.

request-category
1-64

If this is configured, the router requests for the category
after it collects "request-category" number of DNIS digits for incoming calls
only. If this parameter is not configured, the router asks for the category
only after address collection by sending the Backward Group-A-3 signal.

category
1-15

Specifies the type of call (subscriber with priority or normal
subscriber). ITU default is 1 (normal subscriber). For outgoing calls, the
router sends this category. If this is not configured, the router sends the
country default category. For incoming calls, the router collects the category
from the switch. No special handling is based on the category.

NC-congestion
1-15

This is the Backward Group-B congestion signal for
non-compelled signaling. If this is not configured, the router uses the default
Backward Group-B-4 signal.

country use-defaults

Always initially configure with the country
use-defaults parameter. This loads the default register signals
for that country. You can then customize based on the switch after the register
signals load.

answer-guard-time 1-1000
msecs

This is the wait between the router that sends register answer
Backward Group-(B1 or B6) signal and line ANSWER (01). Default is one second.
If Ring No Answers (RNAs, which are calls that fail in the signaling stage)
happen during this wait, or if you want to speed up the call setup time,
decrease this timer.

debounce-time 10-40 msecs

Any line signaling change is considered valid only if it lasts
at least the length of this timer. The default is 40 msecs for all countries.
Tune this based on the switch.

release-guard-time 1-2000
msecs

The router starts this timer on receiving the clear-forward
signal from the switch. It then sends idle up on expiration of this timer. The
default is two seconds. Match this timer to the switch configuration.

seizure-ack-time 2-100
msecs

This is the delay between the router that receives seizure and
sends seizure acknowledgment (ACK). This timer is configurable only on AS5200s
and AS5300s. On AS5800s, there is no delay. Tune this based on the switch
requirements.

metering

Metering signals are pulse type signals transmitted backwards
during the call from call charging point to subscriber's call meter in the
originating exchange. This pulse can be "pulsed clear-back" (01 to 11 and back)
or "pulsed answer" (11 to 01 and back). In order to avoid confusion with
metering signals, clear-back signal is not allowed. If metering is on, the
router sends Forced Release (00) instead of Clear-Back (11).

invert-abcd 0|1 0|1 0|1
0|1

Inverts the ABCD status bits in time-slot 16 before TX and
after rx. If A bit is set to 1, the router inverts the bit before it transmits
and after it receives. For example, invert-abcd 1 0 0 0
causes only bit A to be inverted.

If this is configured, the router sends ACK (11) to the
clear-forward signal from the switch. Currently not supported on AS5800.
Originally implemented for Malta.

proceed-to-send

ITU pulsed line signaling (S-7) ACKs the seizure with a
proceed-to-send signal (150 ms pulse). A variant of this signaling over
satellite links does not use this signal. If this is configured, the router
does not ACK the seizure for incoming calls and does not expect ACK for
outgoing calls. This affects pulsed line signaling calls only. Not supported on
AS5800 yet.

Note: kA and kd stand
for category. China has group-k signals. The kA
parameter is sent first, in response to the Backward Group-A-6 (calling party
category request). kd is sent in response to the
Backward Group-A-3 (address complete). These two can potentially be different
for China. For other countries, the same category is sent to both requests.