CTI32 Class Library

cti.ConfGetDtmf Method 

Vendetta specific. Gets a single digit from the Vendetta DTMF buffer. You can specify a specific user or get a digit from anyone by passing -1 in dev.

[Visual Basic]
Public Shared Function ConfGetDtmf( _
   ByVal vnddev As Integer, _
   ByVal dev As Integer, _
   ByRef digit As String, _
   ByRef digitdev As Integer _
) As Integer
[C#]
public static int ConfGetDtmf(
   int vnddev,
   int dev,
   ref string digit,
   ref int digitdev
);

Parameters

vnddev
Vendetta board device handle returned fro CTIOpenDCB
dev
The device returned from one of the CTIOpen calls. (CTIOpenVoicePort(), CTIOpenT1Port(), or CTIOpenStation) that you want watch a digit from. If you pass a -1 in dev, then you will receive a digit from any user.
digit
This returns the digit collected. This is an ASCIIZ string. It will only return one digit.
digitdev
The device the digit came in on. This will help you determine who pressed the digit.

Return Value

0 if no DTMF digits are waiting 1 – digit returned

See Also

cti Class | CTI32NetLib Namespace