Tom Wellige Posted December 12, 2016 #1 Share Posted December 12, 2016 In case you need to know the current status of all users (or a single one), the global phonebook keeps this information. # Load required modules Import-Module IpPbx # Connect to local SwyxServer with Windows Authentication Connect-IpPbx # Get all users (incl. buildin users) with status informartion # Please note that the returned user list is readonly $userPhoneBookEnum = $Global:LibManager.GetUserPhoneBookEnum() $userPhoneBookEnum.GetPBXPhonebookEx("%",$true,$false,$true,$true) # Get status of one user status $userPhoneBookEnum = $Global:LibManager.GetUserPhoneBookEnum() $userPhoneBookEnum.GetPBXPhonebookEx("John",$true,$false,$true,$true) # Cleanup Disconnect-IpPbx Remove-Module IpPbx Link to comment Share on other sites More sharing options...
Ahmed Posted January 21, 2019 #2 Share Posted January 21, 2019 Hi Tom, How can we get event notifications about changes in any user status? Thank's Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.