CTI32 Class Library

cti.GetAnalogCallerId Method 

For Analog lines: Get the Caller's ID (number). Note: You must enable this feature in the OpenVoicePort method using perfectcall=2 or 3. Exception is never thrown.

[Visual Basic]
Public Shared Function GetAnalogCallerId( _
   ByVal chdev As Integer, _
   ByRef callerid As String _
) As Integer
[C#]
public static int GetAnalogCallerId(
   int chdev,
   ref string callerid
);

Parameters

chdev
Channel device
callerid
Out. Caller's number.

Return Value

0=Successful. -1=Error

See Also

cti Class | CTI32NetLib Namespace