Set status 'other', sign out&in, user unreachable
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
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
Comments
asterisk -rx "database show dnd"
Do you see the entry there for that user that is on DND but showing as available in fop2?
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
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,
Thanks for the updated fop2.js. I installed it and seems to work fine. Will test some more with client.
Best regards,
Erik
Erik
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?
(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?