Intel
®
IXP400 Digital Signal Processing (DSP) Software Version 2.5
Constant Data
48
API Reference Manual
10.2
Event Codes
Events are reported via
XMSG_EVENT
message with an event code and two event data. The resource
specific event codes are defined as:
10.3
Tone IDs
The DTMF tone IDs used by the Tone Generator and Detector are defined as:
Fax-tone IDs reported by the Tone Detector for fax bypass applications. Not supported by the Tone
Generator.
#define XEVT_CODE_TD_TONEON
0x101
/* tone-on event */
#define XEVT_CODE_TD_TONEOFF
0x102
/* tone-off event */
#define XEVT_LOST_PACKET
0x103
/* lost packet */
#define XEVT_DEC_PACKET_CHNG
0x104
/* RTP payload type changed */
#define XEVT_NET_HOOK_STATE
0x105
/* hook state change detected */
#define XEVT_NET_TIMER
0x106
/* timer expired */
#define RFC_TID_DTMF_0
0
#define RFC_TID_DTMF_1
1
#define RFC_TID_DTMF_2
2
#define RFC_TID_DTMF_3
3
#define RFC_TID_DTMF_4
4
#define RFC_TID_DTMF_5
5
#define RFC_TID_DTMF_6
6
#define RFC_TID_DTMF_7
7
#define RFC_TID_DTMF_8
8
#define RFC_TID_DTMF_9
9
#define RFC_TID_DTMF_STAR
10
#define RFC_TID_DTMF_POUND
11
#define RFC_TID_DTMF_A
12
#define RFC_TID_DTMF_B
13
#define RFC_TID_DTMF_C
14
#define RFC_TID_DTMF_D
15
#define RFC_TID_FAX_CED
32
#define RFC_TID_FAX_CNG
36
#define RFC_TID_FAX_V21
40