FOP2 Change Presence plugin

Hi,

I'm trying to use the change presence plugin. When I click on another user, I can see the dropdown list but when I select a status, the status is not updated. I'm running ./fop2_server -X 3 and I don,t see anything when I change the status of another user.

If I change my own status, I do see this :

127.0.0.1 -> Action: Command
127.0.0.1 -> Command: database put fop2state SIP/200 "Out to lunch"

127.0.0.1 -> Action: UserEvent
127.0.0.1 -> UserEvent: FOP2ASTDB
127.0.0.1 -> Family: fop2state
127.0.0.1 -> Key: SIP/200
127.0.0.1 -> Channel: SIP/200
127.0.0.1 -> Value: Out to lunch

127.0.0.1 <- Response: Follows
127.0.0.1 <- Privilege: Command
127.0.0.1 <- Updated database successfully
--END COMMAND--

127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Event Sent

127.0.0.1 <- Event: UserEvent
127.0.0.1 <- Privilege: user,all
127.0.0.1 <- UserEvent: FOP2ASTDB
127.0.0.1 <- Action: UserEvent
127.0.0.1 <- Family: fop2state
127.0.0.1 <- Key: SIP/200
127.0.0.1 <- Channel: SIP/200
127.0.0.1 <- Value: Out to lunch


Running fop2 on a vanilla Asterisk 11.X

Thx !

Comments

  • If you see those events it means that the plugin is indeed working. What do you see if you run

    asterisk -rx "database show fop2state"

    After setting some extension state? What I believe it might be happening is that your custom setup does not use SIP/xxx for devices but something else, something I cannot just guess and that is available for you to adapt by modifying the plugin code.

    Best regards,
  • Hi,

    I see theses events if I change my own status using the toolbar and it's working as expected. But if I change the status of someone else using the presence manager plugin the status is not updated and I see nothing in the debug.

    David
  • there is a permission, I think its named "presencemanager" , do you have that?

Sign In or Register to comment.