
Description | Cautions | Examples
Name: |
int ms_genringCallerID(devh, len, mode, cadid, OrigAddr, rfu) | |
Inputs: |
int devh |
|
unsigned short len |
| |
unsigned short mode |
| |
char* OrigAddr |
| |
void* rfu |
| |
Returns: |
0 if success for asynchronous | |
Includes: |
dtilib.h | |
Category: |
Station | |
Mode: |
synchronous/asynchronous | |
The ms_genringCallerID( ) function allows transmission of analog Caller ID data (Call Originator information) to telephones equipped with FSK Caller ID detectors.
Parameter |
Description |
Cadid |
Either a CadenceID for Distinctive rings or the current default ring (MS_RNG_DEFAULT) may be specified. |
OrigAddr |
An ASCII character string that holds the information about the origination party. The maximum length is 127 characters. With this feature, OrigAddr can be divided into multiple sub-fields identified by field identifiers to hold analog caller identification (FSK) transmission data. |
The sub fields used by the OrigAddr parameter include:
Sub-group identifiers with format 'X:' are used to specify sub-fields for caller ID transmission. Note that the user strings embed this character as part of sub-field identifiers. Thus this sub-group identifier is implicit by nature.
The following sub-group identifiers are supported:
Example 1--Application sends Caller Name and Date to a Caller ID phone connected to a station.
OriginationAddress[128] = "T:01310930N:John Doe" which is:
Caller Name = John Doe
Date Time = Jan 31, 9 30 am
Example 2--Application sends Caller Number absence reason (O: Out Of Area) and Date and Time to a Caller ID phone connected to a station.
OriginationAddress[128] = "T:01310930A:O" which is:
Caller Number Absence Reason : Out Of Area
Date Time = Jan 31, 9 30 am
Example 3--Application sends proprietary data to a Caller ID phone connected to a station.
OriginationAddress[128] = "R:xxxxxxxxxxx" which is:
xxxx represents the proprietary data to be sent
See Also
Click here to contact Dialogic Customer Engineering
Copyright 2002, Intel Corporation