DTMF_FAR_END_INFO

 

This structure contains DTMF information for the far end of a call. Application software can obtain this information by calling the GetFarEndDtmfInfo Api procedure only if internal in-band or RFC2833 DTMF support has been enabled in the media engine.

 

typedef struct DTMF_FAR_END_INFO

{

BOOL FarEndSupportsRFC2833;

int PayloadType;

int SamplingRate;

char *pSupportedEvents;


}DTMF_FAR_END_INFO;
 

 

 

Members:

 

FarEndSupportsRFC2833

This value will be non zero of the far end of the call supports RFC2833 DTMF signaling.

 

PayloadType

Represents the RFC2833 DTMF payload media type the far end is using.
 

SamplingRate

The "sampling rate"/"timestamp rate" of the supported DTMF tones.
 

pSupportedEvents

A string containing all supported events/DTMF tones the far end supports. If this string is empty, VOIP applications should assume the far end supports RFC2833 events 0-15 (i.e. DTMF digits 0-9,*,#,A,B,C,D). Note that the values of the DTMF digits supported by RFC2833 DTMF signaling are the same as the integer values of the media engine DTMF tone enumeration DTMF_TONE.