Tom Wellige

Server Script API - Introduction

Recommended Posts

This article will cover all "hidden" Server Script API functions currently not well documented in any official SwyxWare ECR manual. It will be filled over the time, so please do not expact a complete manual right from the beginning.

 

There are three different COM interfaces diectly available witihn an ECR script, which do not need to be declared via CreateObject.

 

  • PBXCall
    This interface covers properties and methods being directly connected to the current call.
     
  • PBXUser
    This interface covers properties and methods being directly connected to the user the current script is running for.
     
  • PBXScript
    This interface covers common properties and methods connected to scripting purposes.
     

There is a fourth public COM/DCOM Object available, PBXConfig, which is fully covered in the Swyx Knowledgebase. The properties and methods of this object are available for any 3rd party application running on the SwyxServer or any other machine within the network having a DCOM connection to the SwyxServer machine.

 

The above mentioned 3 interfaces are available within an ECR Script (made by the Graphical Script Editor) only !
 

Share this post


Link to post
Share on other sites