IPM_DIGIT_INFO
typedef struct ipm_digit_info_tag { eIPM_DIGIT_TYPE eDigitType; /* Type of digits - DTMF, ALPHA-NUMERIC */ eIPM_DIGIT_DIRECTION eDigitDirection; /* The direction of flow of digits */ char cDigits[MAX_IPM_DIGITS]; /* the digits */ unsigned int unNumberOfDigits; /* Number of digits */ unsigned int unTimeStamp; unsigned int unExpirationTime; unsigned int unDuration; } IPM_DIGIT_INFO, *PIPM_DIGIT_INFO;Description
This structure is used to send and receive digits over the IP network and TDM bus using the ipm_SendDigits( ) and ipm_ReceiveDigits( ) functions. If your application makes a ipm_SendDigits( ) call, it must fill in the digit type, direction, number of digits, and the actual digits to be sent. If your application makes a ipm_ReceiveDigits( ) call, all fields are filled in upon successful return.
Field Descriptions
The fields of the IPM_DIGIT_INFO data structure are described as follows:
- eDigitType
- set to DIGIT_ALPHA_NUMERIC
- The eIPM_DIGIT_TYPE data type is an enumeration which identifies the type of digit. The enumeration defines the following value:
- eDigitDirection
- set to DIGIT_TDM
- The eIPM_DIGIT_DIRECTION data type is an enumeration which identifies the direction of digit flow. The enumeration defines the following value:
- cDigits[MAX_IPM_DIGITS]
- actual digits to be sent or received; maximum number of digits = 32
- unNumberOfDigits
- number of digits; must be set to 1.
- unTimeStamp
- set to 0; reserved for future use
- unExpirationTime
- set to 0; reserved for future use
- unDuration
- set to 0; reserved for future use
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation