Jump to content

Tom Wellige

Root Moderator
  • Content Count

    2,857
  • Joined

  • Last visited

  • Days Won

    93

Tom Wellige last won the day on November 5

Tom Wellige had the most liked content!

Community Reputation

53 Excellent

3 Followers

About Tom Wellige

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Interests
    SwyxWare, Software Development, Flight Simulation

Recent Profile Visitors

7,260 profile views

Bookmarks

  1. ECR Useful Link Collection
    ECR Useful Link Collection

    This topic is taken from the Swyx Forum Archive (2007-2014) and was originally started on 15.12.2009 by me. Since then it got constantly updated.

     

    This topic provides a list of all online available resources regarding Extended Call Routing (ECR).

     

    "Must have" Links

     

    Useful VBScript Functions for ECR Scripts

     

    ECR scripts in the Swyx Knowledgebase

     

    ECR scripts on Swyx Forum (forum, blogs and downloads)

     

    ECR scripts (advanced) here on Swyx Forum

     

    ECR webinar series in Swyx Partner Net (for Swyx Partners only)

    • #1: Deployment of GSE Call Routing Rules (EN/DE)
    • #2: How to use GSE Rule Parameters (EN/DE)
    • #3: Verwendung von GSE Aktionen (--/DE)
    • #4: Global Rules via PreProcessing (EN/DE)
    • #5: Multilingual call routing scripts (--/--)
    • #6: Usage of own VBScript code in call routing (GSE) scripts (EN/DE)
    • #7: How to access text files from within the call routing (EN/DE)
    • #8: How to access databases from within the call routing (EN/DE)
    • #9: Analyse fehlerhaft laufender Call Routing Skripte (--/DE)
    • #10: SwyxWare Call Queues (EN/--)
    • #11: System Variables (EN/--)
    • #12: Usage of Persistent Variables (--/--)

     

     

    And finally, my blog...

     

     


  2. GSE Build-In Functions
    GSE Build-In Functions

    A brief description of what GSE Build-In Function are, can be found in this forum post:

     

    The following is a list of all build-in functions:

     

     

    There are a few other build in functions available which are not part of the list. These functions where available in the list of function in earlier SwyxWare versions, but have been replaced by new functions / properties in the meantime. These functions are still available for compatibility purpose but should not be used in new scripts.

     

     

     


  3. Persistent Variables
    Persistent Variables
    If you use variables in your script the content of these variables will be lost when the current call ends. Furthermore it is not possible to share the content of a variable with other simultaneously running scripts (same scripts, different scripts of the same or other user). There are lots of cases where you need to "remember" the content of a variable or simply share information between simultaneously running scripts.
     
    Persistent Variables solve this problem. This extension provides an easy to use VBScript class (PersistentVariable) which stores it's content into a database and retrieves it from there.
     
    The visibility, i.e. scope, of a persistent variable can be configured finely grained:
    • User
    • Global
    • Namespace
     
    A variable with the scope User is accessible form all scripts of the current user. A user scope variable of another user with the same name does not interfere.
     
    A variable with the scope Global is accessible from all scripts of all users.
     
    A variable with the scope Namespace is accessible from any script (of any user) defining the same namespace. A variable being stored in another namespace but with the same name does not interfere.
     
    The default scope is User, i.e. each user has his own set of persistent variables without need to worry to interfere with other user's scripts.

     

     

    Example: Night Switch
     
    Based upon the Persistent Variables extension this is an example on how to implement night switch functionality. There are four scripts included:
     
    • Night Switch Manager
      Modify the night switch status via DTMF menu or Post Dialing Digits (e.g. using speed dial keys to call into the manager to switch the night switch on or off)
       
    • Night Switch enabled call routing script
      A simple example on how to use the night switch persistent variable in a call routing script to differ between day and night routing
       
    • WebExtension for SwyxIt! Skin
      A simple ASP web page that displays the current state of the night switch as red or green area. By clicking into this area/page the status can be toggled.
       
    • Shortcut for SwyxIt! Skin or Windows Desktop
      A simple WSH script which toggles the current state of the night switch. 

     

     

    download.png  Please find the download for this project here.

     

    book.png  A complete documentation explaining the setup, usage and all included examples can be found here.

     

    book.png  You can also follow this video (oder dieses Video) which contains a Swyx webinar explaining setup and usage of the persistent variables.

     


     

     

    License

     

    Persistent Variables for SwyxWare Extended Call Routing
    v1.2.0

     

    This is a Swyx Forum Open Source Project.
    https://www.swyx-forum.com/forum/64-projects/

     

    Copyright (c) 2011-2017 by Swyx Forum
    Copyright (c) 2011-2017 by Tom Wellige
    All Rights Reserved.

     

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
    the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

     

    The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software.

     

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     


  4. Server Script API - Introduction
    Server Script API - Introduction

    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 !
     


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.