Set status 'other', sign out&in, user unreachable

  1. 10 years ago

    Hi,

    After upgrading to 2.28, the following happens:

    1 user sets status to 'other' with customized message
    2 user signs out of FOP2
    3 user signs into FOP2
    4 status as shown is 'available', but user is not reachable as if DND is active

    the fact that the status is visible as 'available' is confusing, but it was like that in 2.27. The disturbing thing since the upgrade is the fact that the user is in DND, while being unaware of it, since in FOP2 he/she thinks he/she is 'available'.

    FreePBX 2.11 distro (64bit), all updates, licensed FOP2 version

    Thanks, Erik

  2. admin

    18 Aug 2014 Administrator

    If you do not see the user as DND then buttons are most probably misconfigured. Check the actual status of the astdb DND entry when a user is on that state:

    asterisk -rx "database show dnd"

    Do you see the entry there for that user that is on DND but showing as available in fop2?

  3. Hi, thanks for getting back timely. I didn't see your reply since I was waiting for a notification e-mail that I thought I had set to receive.

    the asteriskdb shows no extension set to DND, while some are on DND in FOP2.

    Before posting my first post, I had already run the script to regenerate the buttons.
    FreePBX is in device&user mode, by the way. Any thoughts are appreciated

  4. admin

    23 Aug 2014 Administrator

    We switched the forum software, you will receive notifications for new posts, but not for the ones made on the old phpbb installation. This new version looks much better on mobile/tablets and is in general more to the point, hope you will like it better.

    Back to your issue: you were right, there is a mini typo in /var/www/html/fop2/js/fop2.js that prevents the "Other" status to show on the presence select box when login into fop2 (it shows correctly in the button anyways).

    I am attaching the patched version here. (I hope this forum attachment feature works as expected, never tried it). Unzip it and replace your current fop2.js with the one in the zip file.

    Best regards,

  5. Hi,

    Thanks for the updated fop2.js. I installed it and seems to work fine. Will test some more with client.

    Best regards,

    Erik

  6. After more testing we conclude that the patch works. Thanks,

    Erik

  7. hey,
    I got the same problem here..
    could it be, that if I disable the feature codes for DND in my freepbx gui (*78,*79,*76) any changes of the FOP state doesn't work? or is it any other bug I created now?

  8. hm.. I just tried it on another freepbx system, where I have enabled feature codes for DND, and their the asterisk DND database state doesn't change if I switch the FOP state to anything else than "available".. I also tried the fop2.js from admin, but this doesn't change anything .. :(
    (I restarted fop2 after changing)

    actually this is excactly what the users of the other company want, but does there exist any explanation for this situation?

  9. admin

    29 Sep 2014 Administrator

    Do you have the presence/dnd plugin installed? In order for the fop2 presence to set an astdb entry or not depends on having that plugin installed, and not the presence/pause plugin.

or Sign Up to reply!