omron — PhoneHangUp

Appendix: Built-in Scripting Language 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 Examples See also : PhoneDisableListen() PhoneHangUp Hangs up a dial-up connection previously established with the PhoneDialUp function. Note: This function is not supported on Windows 7. Syntax PhoneHangUp( 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 Examples Page 612 InduSoft Web Studio 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 Tag Name Expression PhoneEnableListen() PhoneEnableListen( "Hayes Compatible Modem on COM1" ) PhoneEnableListen( StringModemNameTag ) Function Group Execution Windows Embedded Thin Client PhoneHangUp Dial-up Asynchronous Supported (see note) Not supported Supported 1 OK (dial connection was dropped) −1 INDTAPI.DLL library not found −2 PhoneHangUp () function not supported by the current INDTAPI.DLL library Tag Name Expression PhoneHangUp() PhoneHangUp( "Hayes Compatible Modem on COM1" ) PhoneHangUp( StringModemNameTag )