This clause was taken from ECMA-269, Section 10, page 77. It describes the formats that may be used for Device Identifiers, their usage, and examples.

10 CSTA Device Identifier Formats

10.1 Device Identifier Formats

The possible types of Device Identifiers formats are: In this section, the following example will be reflected. The called number is a subscriber in the US (country code
1) in San Jose (area code 408). The local number is 996 1010. The extension is 321. The name of the subscriber is
�John Smith�.

10.1.1 Diallable Digits

Generic Format: DD

A first character of the Device Identifier string which is not �N� indicates that the Device Identifier uses the
Diallable Digits format. This format may contain from 0 (a null formatted Device Identifier) to 64 characters. DD is
a string of dialling commands/digits. The following is the list of the complete set of permitted dialling commands/
digits and their definitions:

 
0-9
These characters represents the number digits on a telephone keypad.
*
This represents the �*� character typically found on a telephonekeypad.
#
This represents the �#� character typically found on a telephonekeypad.
A-D
These characters represent DTMF digits.
!
The exclamation mark indicates that a hookflash is to be insertedinto the dial string.
P
The character P followed by a string of digits indicates that thestring of digits is to be pulse dialled.
T
The character T followed by a string of digits indicates that thestring of digits is to be tone dialled.
, The comma character indicates that dialling is to be paused. Thelength of the pause is provided by the switching function through the capabilitiesexchange services. Multiple commas can be used to create a long pause.
W
The character W followed by a string of digits indicates that thestring of digits is to be dialled only after dial tone has been detectedby the switching function.
@
The �at� symbol indicates that the switching function shall waitfor �Quiet Answer� before dialling the rest of the string. This means that the switching function shall wait for remote ringing indication followedby 5 seconds of silence.
$ This dollar sign indicates that the switching function shall wait for the billing signal (i.e., credit
card prompt tone) before continuing.
; The semi-colon character indicates that the digit string is incomplete and more digits will be dialled
using the Dial Digits service. This character may only be used in a Diallable String Device
Identifier.

Examples:

Functional Requirements:

  1. The switching function shall accept, as a minimum, digits 0-9 of this format when the computing function wants to make a call.
  2. The diallable digits format shall be used to represent a device�s dialling sequence. A device�s dialling sequence is a string of outband digits used to initiate a call with another device. When placing a call from a device to another device, there are basically two ways a device�s dialling sequence can be used:
    1. The entire sequence of digits is dialled to reach the destination. This is the most common way to place a call.
    2. The dialling sequence is broken up into a number of stages in order to execute and complete the call. This is called �multi-stage� dialling in this Standard. This type of dialling is needed in cases where the switching function prompts the device for more digits (by sending dialtone again or some other tone).


Note that switching functions support different combinations of dialling sequences.
 

10.1.2 Switching Function Representation

Generic Format: N<DN!SA&CA/EXT%AID>NM (in this order)

The syntax of the generic format is broken down as follows:
N
The �N� character at the beginning of the Device Identifier string (which is 2 to 64 characters in length) indicates that the Device Identifier uses the Switching Function Representation format. At least one of the following components needs to be present in this format:
< >
The angled brackets characters encompass the string when a name (NM) string representing the person associated with the device is provided after the �>� character. If the character �<� is not the first character in the string after the N then the string will not have a name string associated with it.
DN
The first string of characters represents the Directory Number (DN)associated with the given device. The Directory Number shall contain characters selected from the following set: �0� through �9�, �*�, �#�, DTMF digits �A�through �D�. The Directory Number may use any of the following notations (refer to ISO/IEC 11571, ITU-T E.131):
� Implicit TON (Type Of Number) (example: �0014089961010�4)
� PublicTON - unknown
� PublicTON - international number (example: �14089961010�)
� PublicTON - national (example: �4089961010�)
� PublicTON - subscriber (example: �9961010�)
� PublicTON - abbreviated (example: �17�)
� PrivateTON - unknown
� PrivateTON - level 3 regional (example: �41396557321�)
� PrivateTON - level 2 regional (example: �96557321�)
� PrivateTON - level 1 regional (example: �557321�)
� PrivateTON - local (example: �321�)
� PrivateTON - abbreviated (example: �2�)
� Other (other numbering plans)
� Generic (the notation is unknown)
!
This exclamation mark character represents the start of a Sub-Address(SA) string. If the �!� character is not present then there will be no sub-address associated with this Device Identifier string. The terminationcharacter for the sub-address string will be the next key character foundin the string or null.
&
The ampersand symbol represents the start of a Call Appearance(CA) string. It is added to the logical element�s device identifier to uniquely identify an addressable standard appearance. The value of the string is switching function specific. The valid characters for the call appearance string are 0-9. The termination character for the call appearance string will be the next key character found in the string or null. Refer to 6.1.3.2.1, �Appearance�.
/
The slash symbol represents the start of a physical element extension (EXT) string. It is added to the logical element�s device identifier to uniquely identify a bridged appearance. Its value is the physical element�s device identifier that is associated with the appearance. The termination character for the physical element extension string will be the next key character found in the string or null. Refer to 6.1.3.2.1, �Appearance�.
%
The percent sign represents the start of an Agent ID (AID) string. This string represents an ACD agent identifier associated with a device. This string may be present when the computing function wants to focus a service at a specific agent identifier that is associated with a device or when the switching function generates an event that is associated with a particular device and agent. The valid characters for the agent identifier string are A-Z and 0-9. If the �%� character is not present then there will be no agent identifier associated with this Device Identifier string.The termination character for the agent identifier string will be the next key character found in the string or null.
NM
The name string (NM) represents the person associated with the device.This string can be used for selecting a Device Identifier associated with a user or for logging and informational purposes. The name string may contain any character.

Example:

� If the Device Identifier is PublicTON International, then the string can be �N14089961010�.
� If the Device Identifier is PublicTON Subscriber, then the string can be �N<9961010>John Smith�.

Functional Requirements:

1. This format shall always contain at least a directory number string or an agent ID string.
2. The interpretation of additional digits beyond those that are required to reach a destination are switching
function specific.
3. When there is more than one bridged appearance associated with a single physical element (see 6.1.3.3.6,
�Hybrid�, on page 19 for an example) there are two methods for representing these appearances: One is to
have a unique call appearance (CA) and physical element extension (EXT) combination for each appearance
where EXT is used to represent the given physical element and CA is used to represent multiple appearances
associated with the same physical element. The other is to have a single EXT for each appearance,
independently of their association with the physical element. In either case, the resulting Device Identifier is
unique for the given appearance.
 

10.1.3 Device Number

Generic Format:

The Device Number format represents a Device Identifier using an integer. The integer shall be maximum size of
four octets.
 

10.2 Functional Requirements

1. If the switching function detects a problem with a Device Identifier, the service will be rejected with a
negative acknowledgement.
2. The switching function may use any format in service acknowledgements and events.
3. For Device Identifiers in service requests, the computing function should check the deviceIDFormat parameter
in a capabilities exchange service to determine:
� Which formats are supported.
� For the Switching Function Representation format, which notations are supported.
� For the Diallable Digits format, which special characters are supported.
4. When providing a null Device Identifier, the Diallable Digits Format is used.