Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. FOP2 Change Presence plugin

FOP2 Change Presence plugin

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 113 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    D
    Dimitripietro
    wrote on last edited by
    #1

    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 !

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      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,

      1 Reply Last reply
      0
      • D
        D
        Dimitripietro
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups