Jump to content

- Properties & Methods

- # Persistent Variables - 4.9 - CallerNumber

  Followers 0

  VBScript 1.4.0

  With this property you can set the number which is written into the CreatedByNumber and ModifiedByNumber properties when a variable is created the first time or modified.

  Usuallaly you don't need to set this property manually as the persistent variable will use the number of the current caller automatically. If however you need to overwrite that number or use the persistent variable outside of a call routing script you can used this property to do so,

  You must set this property before setting the value property in order to apply the new number.

      Dim Announcement
      Set Announcement          = new PersistentVariable
      Announcement.Name         = "Welcome"
      Announcement.CallerName   = "Erika Mustermann"
      Announcement.CallerNumber = "+4930123457890"

      Announcement.Value        = "Beep.wav"

  The maximum length of the number you can set is 80 characters. Any additional characters will be truncated.

  With the CallerName property you can also modifiy the number which is written into the CreatedByName and ModifiedByName properties when a variable is created the first time or modified.

  By Tom Wellige

  - February 29, 2024
  Share
  Share
  Followers 0
  Previous Page 4.8 - CallerName
  Next Page 4.10 - Created

## 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.