Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

How to query the current active status with CallTriggerCmd.exe?

Discussion in 'Windows' started by snv-it, May 23, 2016.

Thread Status:
Not open for further replies.
  1. snv-it

    Joined:
    May 4, 2016
    Messages:
    8
    Likes Received:
    0
    We can set the users active status to "Availabel" during windows login by a CallTriggerCmd.exe call (even if the varying profile numbers are a pain...)
    Is it also possible to query the current active status with CallTriggerCmd.exe on logout? We would like to put 'Away', but only if current status is 'Available'.
    The Help does not show any corresponding command, but perhaps there is something undocumented.
    Thanks, Chris
     
  2. pj3cx

    pj3cx Active Member

    Joined:
    Aug 1, 2013
    Messages:
    646
    Likes Received:
    1
    Hi there,
    See in the 3CXPhone API documentation (http://www.3cx.com/blog/docs/3cxphone-for-windows-api/), the MyPhonePlugins.UserProfileStatus class which have properties ProfileId and IsActive and the event MyPhonePlugins.CurrentProfileChangedEventArgs to track changes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.