DTMF_TONE

 

The DTMF_TONE enumeration defines values of supported DTMF tones that are used by the Media Engine's DTMF API support. If applications want to generate DTMF tones, application code must specify one of these values. If an application has enabled DTMF detection, DTMF decoders will return these values to inform the application of the DTMF digit detected.


 

typedef enum

{

DtmfTone0 = 0,

DtmfTone1,

DtmfTone2,

DtmfTone3,

DtmfTone4,

DtmfTone5,

DtmfTone6,

DtmfTone7,

DtmfTone8,

DtmfTone9,

DtmfToneAsterisk,

DtmfTonePound,

DtmfToneA,

DtmfToneB,

DtmfToneC,

DtmfToneD,

DtmfToneFlash,       // not used for in-band DTMF.

DtmfToneUndefined
 

}DTMF_TONE;
 

 

 

Members:

 

DtmfTone1

Represents DTMF digit '1'.

 

DtmfTone2

Represents DTMF digit '2'.

 

DtmfTone3

Represents DTMF digit '3'.

 

DtmfToneA

Represents DTMF digit 'A'.

 

DtmfTone4

Represents DTMF digit '4'.

 

DtmfTone5

Represents DTMF digit '5'.

 

DtmfTone6

Represents DTMF digit '6'.

 

DtmfToneB

Represents DTMF digit 'B'.

 

DtmfTone7

Represents DTMF digit '7'.

 

DtmfTone8

Represents DTMF digit '8'.

 

DtmfTone9

Represents DTMF digit '9'.

 

DtmfToneC

Represents DTMF digit 'C'.

 

DtmfToneAsterisk

Represents DTMF digit '*'.

 

DtmfTone0

Represents DTMF digit '0'.

 

DtmfTonePound

Represents DTMF digit '#'.

 

DtmfToneD

Represents DTMF digit 'D'.

 

DtmfToneFlash

Represents the "Flash" DTMF digit. This digit is only supported when using out-of band RFC2833 type DTMF generation or detection.

 

DtmfToneUndefined

This value represents all other unsupported DTMF tones.