18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix: Built-in Scripting Language<br />

Name of the modem used to dial. If you do not specify a modem, the function will use the first<br />

modem found on the operating system.<br />

Returned value<br />

1 OK (stop listening for incoming calls)<br />

−1<br />

−2<br />

INDTAPI.DLL library not found<br />

PhoneDisableListen () function not supported by the current INDTAPI.DLL library<br />

Examples<br />

Tag Name<br />

Expression<br />

PhoneDisableListen()<br />

PhoneDisableListen( "Hayes Compatible Modem on COM1" )<br />

PhoneDisableListen( StringModemNameTag )<br />

See also: PhoneEnableListen()<br />

PhoneEnableListen<br />

Resumes listening to the modem for incoming calls.<br />

Function Group Execution Windows Embedded Thin Client<br />

PhoneEnableListen Dial-up Synchronous Supported (see note) Not supported Supported<br />

Note: This function is not supported on Windows 7.<br />

Syntax<br />

PhoneEnableListen( optStrModemName )<br />

optStrModemName<br />

Name of the modem used to dial. If you do not specify a modem, the function will use the first<br />

modem found on the operating system.<br />

Returned value<br />

1 OK (listening for incoming calls)<br />

0 Error executing the PhoneEnableListen() function<br />

−1<br />

−2<br />

INDTAPI.DLL library not found<br />

PhoneEnableListen () function not supported by the current INDTAPI.DLL library<br />

Examples<br />

Tag Name<br />

Expression<br />

PhoneEnableListen()<br />

PhoneEnableListen( "Hayes Compatible Modem on COM1" )<br />

PhoneEnableListen( StringModemNameTag )<br />

Page 726<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!