CAS R1 E&M
Clod Patry (Talk | contribs) (moved E&M to CASr1 scripting: this page is what's needed for all CASr1 script, not specific to E&M.) |
Clod Patry (Talk | contribs) (basic page for E&M) |
||
Line 1: | Line 1: | ||
− | + | ||
+ | E&M is a CASr1 family. | ||
+ | This script is used to configure the following variants: | ||
+ | * Immediate delay | ||
+ | * Wink-start | ||
+ | * Double-ack | ||
+ | * EANA | ||
+ | |||
+ | == 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: | ||
+ | <pre> | ||
+ | CasR1.Variant = CasR1.VariantTypes.DELAY_START | ||
+ | CasR1.Variant = CasR1.VariantTypes.WINK_START | ||
+ | CasR1.Variant = CasR1.VariantTypes.WINK_START_ACK | ||
+ | CasR1.Variant = CasR1.VariantTypes.EANA | ||
+ | </pre> | ||
+ | |||
+ | 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". | ||
+ | |||
+ | <pre> | ||
+ | ANI = { | ||
+ | prefix = "*", | ||
+ | suffix = "*", | ||
+ | expected_digits = 0, | ||
+ | inter_digit_timeout = 0, | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | == DNIS == | ||
+ | |||
+ | This is the Dialed Number Identification Service, commonly called the "called number". | ||
+ | <pre> | ||
+ | DNIS = { | ||
+ | prefix = "*", | ||
+ | suffix = "#", | ||
+ | expected_digits = 0, | ||
+ | inter_digit_timeout = 0, | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | By using the 2 above sections, you're expecting to receive: | ||
+ | <pre> | ||
+ | *ANI*DNIS# | ||
+ | </pre> | ||
+ | when you're in the incoming addressing state. |
Revision as of 14:45, 31 July 2013
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.