CAS R1 E&M

From TBwiki
Revision as of 14:45, 31 July 2013 by Clod Patry (Talk | contribs)
Jump to: navigation, search

E&M is a CASr1 family. This script is used to configure the following variants:

  • Immediate delay
  • Wink-start
  • Double-ack
  • EANA

Contents

Overview

E&M scripts use the same logic specified in CASr1 scripting.


Configuration

To specify a script to use E&M, you MUST specify one of the following:

CasR1.Variant = CasR1.VariantTypes.DELAY_START
CasR1.Variant = CasR1.VariantTypes.WINK_START
CasR1.Variant = CasR1.VariantTypes.WINK_START_ACK
CasR1.Variant = CasR1.VariantTypes.EANA

Depending if you want to use 0, 1 or 2 winks and if you plan to receive or not the ANI.


Subvariants

Here are the differences between the subvariants:

Delay Start

there's no wink before receiving ANI/DNIS.

Wink Start

There's 1 wink before receiving ANI/DNIS.

Wink Start ACK

There's 1 wink before receiving ANI/DNIS. There's 1 wink after receiving ANI/DNIS.

EANA

This variant is similar to wink start, but it contains ANI, while wink-start has no ANI.


ANI

This is the Automic Number Identification, commonly called the "calling number".

ANI = {
	prefix = "*",
	suffix = "*",
	expected_digits = 0,
	inter_digit_timeout = 0,
}	


DNIS

This is the Dialed Number Identification Service, commonly called the "called number".

DNIS = {
		prefix = "*",
		suffix = "#",
		expected_digits = 0,
		inter_digit_timeout = 0,
	}

By using the 2 above sections, you're expecting to receive:

*ANI*DNIS#

when you're in the incoming addressing state.

Personal tools