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 lunch127.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 Sent127.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 lunchRunning fop2 on a vanilla Asterisk 11.X
Thx !
-
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
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login