Event Capture in classic ASP (vbscript) - is this possible? -


We have recently purchased some software which provides an API in our phone system, which allows us to dial, hang, . Designed to use API Client Side (Internet Explorer / Active), we want to use this server side and run the dial command on a classic ASP script via an AJAX call.

The basic VBScript is to start the component as follows:

  & lt;% set objPhone = server.createobject ("XariosPhoneManager.PhoneManager") objPhone.RemoteHost = " 192.168.0.17 "objPhone.RemotePort =" 2001 "objPhone.OAIPassword =" "objPhone.Extension =" 1000 "objPhone.Initialise () Set Objonphone = None% & gt;  

But I can not call dial command

  objPhone.MakeCall ("1001")  

until "Initial" incident has happened. There is no way in the classic ASP to wait for the event before executing some code?

It is not possible simply in ASP that no asset does not appear, which started the component It is only the initial event that takes place in the fire. Unfortunately, ASP can not detect events, the developer has suggested wrapping its components in a new DLL which takes care of event management, but I do not have the resources to do this.

In the future version of the software, they have promised the ability of true servers

Comments