Dcnigma / Bizylight-3XC-integration

This Dll will integrate Busy Light for 3CX More info about busy light => https://www.busylight.com
6 stars 6 forks source link

Request - Change BusyLight color depending on the user status #3

Closed Bejlem closed 6 years ago

Bejlem commented 6 years ago

I would like to implement the functionality as mentioned in the title:

(The following conditions are only for the case, when the user is not calling/dialing any numbers and is not in a call at all!) I want the BusyLight color to be or switch only green if the profile status is set to Available. For all other profile status the lamp should stay red. I know I need to use MyPhonePlugins.UserProfileStatus.ProfileId or MyPhonePlugins.ProfileExtendedStatusChangedEventArgs.ProfileId to get an integer back as the ID of the current used Profile. But I'm not quite sure how to reference this method correctly - right now I only get the CS1061 Error Code in Visual Studio.