Refresh labels is not working

  1. 10 years ago

    I have a licensed copy of FOP2 and it is installed and working on my FreePBX install with some minor exceptions:

    I'm trying to refresh the labels of the extensions and it is not working - One extension has been deleted alltogether and the other has been renamed but they remain in the FOP2 panel.

    The extension list in the buttons tab (fop2admin) is correct but in FOP2 it's incorrect.

    Running the refresh labels option in fop2admin gives:

    /var/www/html/fop2/admin/functions.inc.php (line 2005)
    Invalid argument supplied for foreach()

    And I also notice this in the templates section:

    /var/www/html/fop2/admin/pagebs.fop2templates.php (line 47)
    Function ereg_replace() is deprecated

    I have also tried running /usr/local/fop2/autoconfig-buttons-freepbx.sh and this does not seem to fix it either.

    Any suggestions?

  2. admin

    5 Aug 2014 Administrator

    It seem you do not have the final version of fop2manager, but a beta? ereg_replace is nowhere in the source. Try downloading fop2manager again, or upgrade to FOP 2.28 that already includes the latest fop2manager version.

    Another thing you might see after renaming an extension in FreePBX is actually a FreePBX bug, where the queue member names are not changed. As fop2 will rename button labels to their queue member names if they are queue members, then you will see the old name on some buttons, because that old name is set in queues. To verify if you have that issue, do an:

    asterisk -rx "queue show"

    And check the member names. If you see an old name there, you will have to edit the queue, remove the member, save&apply, then add the member again and save&apply.

    Best regards,

  3. The installed version was 2.27 - I have updated it to 2.28 and this seems to have resolved all of the problems with no other intervention.

    Apologies for not doing this first, I only installed it a few weeks ago so I didn't consider that a new version would be available.

    Thank you very much for your assistance.

or Sign Up to reply!