Green or grey button

Could you please point me: how do you determine if the user button should be green or grey?
I use Users & Devices mode and my buttons within FOP2 panel never corresponds to the reality.

Comments

  • user & device mode agi script is broken in FreePBX, there are some posts here to tell how to fix, so when a user logs in and out, it gets reflected in fop2.

    Look at the last posts in this thread:

    View Post 129&p=519&hilit=out.agi#p476
  • For my version of Asterisk (11) it works fine. I made my own logon/logout procedure with your hot desk plugin. Thank you very much for help. I looked for this events: UserDeviceRemoved/UserDeviceAdded.
  • edited December 2014
    I noticed a strange thing:
    After event UserEvent "UserDeviceRemoved,Data: 103\\,5" the user 103 become grey, then we receive an event UserEvent "UserDeviceAdded,Data: 101\\,5" and BOTH 101 with 102 becomes green.

    I see these events in the debug of FOP2, no other UserEvent events there are between them.
Sign In or Register to comment.