Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • A.1 - Night Switch - Night Switch Manager

    A.1 - Night Switch - Night Switch Manager

    The Night Switch Manager script is used to enable or disable the night switch.

     

    How to install it
     

    • Make sure you have the Persistent Variables extension properly installed
    • Create or use a dummy/test user
    • Open it's Call Routing Manager
    • Create a new rule using the GSE
    • Import the file NightSwitchManager.rse from the download package
    • You might want to record your own announcement for the Get DTMF Char block explaining the usage of the menu (press 0 to switch the night switch off, press 1  to switch it on).
    • Save the rule and exit the GSE

     


    How to use it

     

    There are two ways to use the Night Switch Manager:
     

    1. Simply call the dummy user. You will hear the current status of the night switch (0 for off and 1 for on). Afterwards you are in the DTMF menu to enable or disable the night switch. If you have recorded your own announcement you will hear it now. Press 0 to disable the night switch, press 1 to enable it. Afterwards the new status of the night switch will be announced.
       
    2. You can skip the DTMF menu by passing the desired new status of the night switch (0 for off and 1 for on) as post dialing digit when calling the dummy user. By doing so the night switch will be set accordingly and you will only listen to the new status.

      This enables you to configure two speed dial keys in your SwyxIt! or on your SwyxPhone (assuming your dummy user has the internal number 300):

      - Label: Night Switch ON
        Number: 3001
      - Label: Night Switch OFF
        Number: 3000

     

     

    How it works

     

    pv11.png

     

    1. Initialize the NightSwitch persistent variable.

      pv12.png

       
    2. Store post dialing digits into own variable.

      pv13.png

       
    3. Do we have any post dialing digits ?

      pv14.png

       
    4. DTMF menu. If we have any post dialing digits witin our own variable they will be taken as DTMF input. The block also returns the pressed DTMF key or the post dialing digit in another variable.

      pv15.png

       
    5. Store the selected new status of the night switch into the persistent variable.

      pv16.png
       

     

    To make use of the Night Switch in any call routing script see here: A.2 - Night Switch enabled call routing script

     

     


    Tom Wellige
     Share


     Share




×
×
  • 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.