Lua → VBScript SwxWare v13.10
The function sets or gets the script users' login pin of his SwyxPhone of DCF desk phone (e.g. Yealink phone).
-- get current pin local sPin = PBXUser.PhonePin() -- set new pin PBXUser.PhonePin("12345")
This functions takes or returns a string value.
A newly set pin must not contain any characters but just digits, and has a maximum length of 16 digits.
By Tom Wellige