# CDI service events

The CDI service events are presented in two tables:

- Alphabetically by event name.

- Numerically by hexadecimal number.

## Events ordered alphabetically

The following table alphabetically lists the CDI events:

Event name | Description
--- | ---
CDIEVN_A_CHANGE_OFF | A bit just reset.
CDIEVN_A_CHANGE_ON | A bit just set.
CDIEVN_BOARD_STATUS_CHANGE | Board's status changed. Only applications registered to received status change events receive this event. Refer to Monitoring status changes.
CDIEVN_CX_HEART_BEAT_BACK | Communication with the DSP is re-established.
CDIEVN_CX_HEART_BEAT_LOST | Communication with the DSP is lost.
CDIEVN_DTMF_ENDED | Current DTMF ended.
CDIEVN_DTMF_STARTED | DTMF started. The ASCII representation of the key is in the value field.
CDIEVN_FLASH_HOOK | Station issued a flash-hook.
CDIEVN_OFF_HOOK | Station picked up.
CDIEVN_ON_HOOK | Station hung up.
CDIEVN_RING_IS_OFF | Ring cycle finished. FSK transmission is allowed.
CDIEVN_RING_IS_ON | Ring cycle started. FSK transmission is not allowed until CDIEVN_RING_IS_OFF is received.
CDIEVN_TIMER_DONE | On-board timer stopped. The event value field contains the reason.
CDIEVN_TIMER_START | On-board timer started.
CDIEVN_TIMER_STOP | On-board timer stopped.
CDIEVN_TIMER_TICK | On-board timer reporting a timer tick.
CDIEVN_TONE_DONE | Tone transmission is complete.

## Events ordered numerically

The following table numerically lists the CDI events:

Hex | Decimal | Event name
--- | --- | ---
0x1F2001 | 2039809 | CDIEVN_TONE_DONE
0x1F2002 | 2039810 | CDIEVN_DTMF_STARTED
0x1F2003 | 2039811 | CDIEVN_DTMF_ENDED
0x1F2004 | 2039812 | CDIEVN_ON_HOOK
0x1F2005 | 2039813 | CDIEVN_OFF_HOOK
0x1F2006 | 2039814 | CDIEVN_FLASH_HOOK
0x1F2007 | 2039815 | CDIEVN_A_CHANGE_OFF
0x1F2008 | 2039816 | CDIEVN_A_CHANGE_ON
0x1F2009 | 2039817 | CDIEVN_BOARD_STATUS_CHANGE
0x1F200A | 2039818 | CDIEVN_TIMER_TICK
0x1F200B | 2039819 | CDIEVN_TIMER_DONE
0x1F200C | 2039820 | CDIEVN_CX_HEART_BEAT_LOST
0x1F200D | 2039821 | CDIEVN_CX_HEART_BEAT_BACK
0x1F200E | 2039822 | CDIEVN_TIMER_START
0x1F200F | 2039823 | CDIEVN_RING_IS_ON
0x1F2010 | 2039824 | CDIEVN_RING_IS_OFF