Jump to content
  • 4.12 - CreatedByNumber

    4.12 - CreatedByNumber

    VBScript   1.4.0


    This property contains the number of the caller when the persistent varibale was stored first time. 


    Dim Announcement
    Set Announcement  = new PersistentVariable
    Announcement.Name = "Welcome"
    If Not IsNull(Announcement.Created) Then
       PBXScript.OutputTrace "Created:         " & FormatDateTime(Announcement.Created)
       PBXScript.OutputTrace "CreatedByName:   " & Announcement.CreatedByName
       PBXScript.OutputTrace "CreatedByNumber: " & Announcement.CreatedByNumber
    End If


    This propery returns a string value.


    This property allows read access only.


    If a variable wasn't set before you access this property, an empty string will be returned.


    You can use the CallerNumber property before writing the first time into this variable to define an own number to be written into CreatedByNumber, instead of the number of the current caller.



    Tom Wellige


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