PhoneEnableListen

Resumes listening to the modem for incoming calls.

Function Group Execution Windows Embedded Thin Client
PhoneEnableListen Dial-up Synchronous Supported (see note) Not supported Supported
Note: This function is not supported on Windows 7.

Syntax

PhoneEnableListen( optStrModemName )
optStrModemName
Name of the modem used to dial. If you do not specify a modem, the function will use the first modem found on the operating system.

Returned value

1 OK (listening for incoming calls)
0 Error executing the PhoneEnableListen() function
−1 INDTAPI.DLL library not found
−2 PhoneEnableListen () function not supported by the current INDTAPI.DLL library

Examples

Tag Name Expression
  PhoneEnableListen()
  PhoneEnableListen( "Hayes Compatible Modem on COM1" )
  PhoneEnableListen( StringModemNameTag )

See also: PhoneDisableListen()