Jump to content

Am I missing something for IsHolidayInGermany()?


Recommended Posts

I tried using 

 

But everytime i used IsHolidayInGermany(GSE_BL_BE) in a Check, the call routing just breaks. I checked others like IsBusy() and they worked. Am I missing something forIsHolidayInGermany() to work ?

 

I'm using SwyxON in the current version.

 

Link to comment
Share on other sites


Have you switched your Call Routing User to Lua Call Routing?

 

By default ALL SwyxWare users are based on VBScript and only VBScript code can be added.

 

Since SwyxWare 13.10 there is also a Lua scripting engine included, but users must still be switched over to Lua manually. If you haven't done anything like that, your call routing user is using VBScript and you need to use the VBScript version of the public holiday function (as stated also in the article you linked above):

 

 

 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 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.