Jump to content

Tom Wellige

Root Moderator
  • Posts

    4,309
  • Joined

  • Last visited

  • Days Won

    117

 Content Type 

Profiles

SwyxPEDIA Wiki

Zendesk Integration

Persistent Variables

Longest Waiting

VBScript build in functions

GSE build in functions (VBScript)

Server Script API (VBScript)

GSE build in functions (Lua)

Server Script API (Lua)

Function Collection (VBScript)

Function Collection (Lua)

IPS Integration

Jira Service Integration

Forums

Blogs

Downloads

Page Comments posted by Tom Wellige

  1. Das kannst du ganz einfach machen, indem Du die Funktion mit den entsprechenden Daten mehrfach aufrufst, z.B.:

     

    'Ist heute Feiertag?
    Dim bHeute
    bHeute = IsPublicHolidayAT(vb_FS_WI, Now) 
    
    'War gestern Feiertag?
    Dim bGestern
    bGestern = IsPublicHolidayAT(vb_FS_WI, DateAdd("d", -1, Now)) 
    
    'Ist morgen Feiertag?
    Dim bMorgen
    bMorgen = IsPublicHolidayAT(vb_FS_WI, DateAdd("d", 1, Now)) 

     

  2. My idea was that it is checked, if the caller number is part of the black listed number. For that logic the order of the both parameters is correct.

     

    If you reverse the logic (is black listed number part of caller number) you need to reverse the parameters of course.

     

    With the reversed order it is actually possible to search for "parts of numbers" in the black list. So it would be possible to easily exclude complete DDI ranges.

     

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