admin

Administrator

Last active [hidden]

  1. 6 years ago
    Mon Jun 18 16:37:03 2018
    admin posted in showLines.

    Hi,

    The best option is to use the FOP2 Manager to configure settings for each tenant. If you do not run a supported multi tenant backend, you will have to modify functions-custom.php and configure the proper functions.

    function "custom_populate_context" must populate an index based array with your fop2 contexts, supose you have "tenant1" and "tenant2" you should make that function return just that:

    function custom_populate_contexts_from_tenants() {
    $panelcontexts[0]='tenant1';
    $panelcontexts[1]='tenant2';
    return $panelcontexts;
    }

    With that, if you log into the FOP2 manager you will have the option to chose between the two and set Settings for each distinctively.

    Best regards,

  2. Thu Mar 22 18:53:08 2018
    admin posted in Is fop2 dead?.

    Hi guys,

    First of all, please accept my apologies for not being able to respond on the Forum lately. I have been traveling a lot lately (attending conferences, and for work).

    It does not mean any of our products are dead. Not at all. There is constant work, effort and love being put into all of our products. There are frequent releases, you can check the ChangeLogs for each product to see that additions/fixes are done almost on a daily basis.

    I am grateful for the users that take the time to participate in this forum and help others, and I want to let you know that you will still receive direct support for me when I am available on our sites.

    Sometimes you might not see it, but believe me there is lots being done: from making the software work with newer versions of Asterisk (there are recent changes for compatibility with Asterisk 14), adding support for more backend engine configurations, adding new features, fixing bugs and doing support.

    You might find me or my colleagues online at the live help at www.fop2.com and www.asternic.net for live/real chat, with very knowledgable people (not bots, not outsourced). Email is unfortunately not a good medium any longer for support (for me at least). When doint support we need to ask a lot of questions to get a grasp or idea of a problem, and doing so via email takes forever. The ticketing system we have setup is broken and I really did not have the time to fix it. I will probably take it down and rely on the live help builtin ticket or move to our own customer portal.

    I am pushing updates to Asternic CDR Reports, Asternic Call Center Stats, FOP2 and plugins every week, trying to schedule on a new release every month for FOP2 and probably the Asternic suite. Sooner than later I will release the Dialer officially, I am nearly a feature freeze point and then it goes to testing and documentation process. It is quite powerful.

    I am not very good communicating stuff, I enjoy coding and engineering challenges more than writing a nice post about a new release. We do not have marketing people helping out, and that is probably why you might get the sense of abandonment, Just check the live help from time to time, or check the download pages for every product and keep an eye for new versions.

    Best regards,

  3. Thu Mar 22 18:52:04 2018
    admin posted in Is fop2 dead?.

    Hi guys,

    First of all, please accept my apologies for not being able to respond on the Forum lately. I have been traveling a lot lately (attending conferences, and for work).

    It does not mean any of our products are dead. Not at all. There is constant work, effort and love being put into all of our products. There are frequent releases, you can check the ChangeLogs for each product to see that additions/fixes are done almost on a daily basis.

    I am grateful for the users that take the time to participate in this forum and help others, and I want to let you know that you will still receive direct support for me when I am available on our sites.

    Sometimes you might not see it, but believe me there is lots being done: from making the software work with newer versions of Asterisk (there are recent changes for compatibility with Asterisk 14), adding support for more backend engine configurations, adding new features, fixing bugs and doing support.

    You might find me or my colleagues online at the live help at www.fop2.com and www.asternic.net for live/real chat, with very knowledgable people (not bots, not outsourced). Email is unfortunately not a good medium any longer for support (for me at least). When doint support we need to ask a lot of questions to get a grasp or idea of a problem, and doing so via email takes forever. The ticketing system we have setup is broken and I really did not have the time to fix it. I will probably take it down and rely on the live help builtin ticket or move to our own customer portal.

    I am pushing updates to Asternic CDR Reports, Asternic Call Center Stats, FOP2 and plugins every week, trying to schedule on a new release every month for FOP2 and probably the Asternic suite. Sooner than later I will release the Dialer officially, I am nearly a feature freeze point and then it goes to testing and documentation process. It is quite powerful.

    I am not very good communicating stuff, I enjoy coding and engineering challenges more than writing a nice post about a new release. We do not have marketing people helping out, and that is probably why you might get the sense of abandonment, Just check the live help from time to time, or check the download pages for every product and keep an eye for new versions.

    Best regards,

  4. 7 years ago
    Mon Sep 4 14:19:37 2017

    Hi,

    The issue you had with the system that has FreePBX and worked after entering credentials again was fixed in today's release (FOP2 access control was not initiated when a backend session was already present).

    Another change you need to do in config.php is to set USE_BACKEND_AUTH instead of USE_FREEPBX_AUTH

    Not sure what you mean with AD (is active directory)? FOP2 Manager won't authenticate with that, you will have to set USE_BACKEND_AUTH to false and use own FOP2 Manager admin users administration.

    Best regards,

  5. Mon Sep 4 14:13:58 2017

    Hi, I am sorry.. The forum is being totally spammed by bots and such, having to deal with that is taking so much time. I answered already some posts about potential issues with accessing the FOP2 Manager and FPBX in other posts:

    http://forum.fop2.com/4549-fop2-admin-panel-not-log-in

  6. Mon Sep 4 14:11:46 2017

    Hi,

    The plugin should detect the asterisk reload event and update fop2 internal tables. You should have to verify tables by hand after adding something into asterisk and reloading asterisk, (and before doing a fop2 reload), try running:

    /usr/local/fop2/autoconfig-buttons.sh

    Do you see the changes (new aditions, label changes, etc), in the output ? If not, then the config on reload plugin is not being executed for some reason (perhaps a wrong path is set for the update_db.php script in the plugin config, or permissions are not correct...? perhaps asterisk is not publishing a reload event in AMI).

    Best regards,

  7. Mon Sep 4 14:08:20 2017
    admin posted in Fop2 Admin Panel not log in.

    First of all, it is not needed to restart FOP2 at all if you have issues with the FOP2 Manager. They are not related, one thing is the switchboard, a different application is the manager. So, if you have issues with the FOP2 manager, you can let alone the fop2 service, as a change in /fop2/admin/config.php does not affect the switchboard.

    As for unable to login, you might have three different problems:

    1. invalid credentials alert
    2. insufficient privileges alert
    3. nothing

    And also two possible scenarios:

    1. running a 'known' auth backend like FPBX, Issabel or Ombutel
    2. not running a 'nown' auth backend or using vanilla Asterisk

    Depending on the problem, you should review different things.

    If you want to share authentication credentials with your asterisk config backend (if supported), then set USE_BACKEND_AUTH to true, if not, set it to false and authentication/authorization will be made against FOP2 Manager own user tables (fop2managerusers, fop2manageracl and fop2managersecurelevel)

    If you set backend auth to false, then you should try to log with the default user/pass that was configured in /var/www/html/fop2/admin/config.php... if you see invalid credentials, then either the user or password is wrong, if you get insuficient privileges, then acl is not set or wrong. fop2manageracl table should have around 17 entries with sections and their required secure level, and fop2managersecurelevel both the admin and user levels set). If any of those tables is empty, then you will need them populated.

    Best regards,

  8. Mon Sep 4 13:58:01 2017

    Hi,

    You must set USE_BACKEND_AUTH to false. After that try to login again. If login fails, do you see an error with invalid credentials? or not enough privileges? or none? If the later, you should review your web server error log to see if there might be issues with php sessions.

    Best regards,

  9. Wed Aug 9 19:15:03 2017

    Hi,

    FOP2 won't ever change or modify callerid, that is a task of Asterisk. Whatever callerid you see in FOP2 is what asterisk advertises in AMI manager events for every respective channel.

    There are ways to modify callerids and transfers inside asterisk, and those also change depending on asterisk versions (as I mentioned earlier, you can use trustrpid, use some dial options, etc). The thing is that FOP2 will display the callerid 'as received' in AMI events, and if you see something that you feel is not right, then it is Asterisk not doing that passing the way you would expect.

    As for the atxfer manager command, it has no provisions at all to change a callerid when invoking that command, so nothing could be done in FOP2 (as FOP2 is a command dispatcher, for commands that exist and are implemented in *asterisk*).

    asterisk -rx "manager show command atxfer"

  10. Tue Aug 8 22:10:35 2017
    admin posted in Fop2 Admin Panel not log in.

    I will push a new FOP2 version shortly, in the meantime, edit /var/www/html/fop2/admin/secure/secure-functions.php, line 115, from this:

    $query = "SELECT username AS login,IF(sections LIKE '%*%','admin','user') AS level,username AS name FROM ";

    to this

    $query = "SELECT username AS login,IF(sections LIKE '%%*%%','admin','user') AS level,username AS name FROM ";

    Also, edit /var/www/html/fop2/admin/config.php and if you have:

    define('USE_FREEPBX_AUTH',true);

    change it to

    define('USE_BACKEND_AUTH',true);

    That should do the trick.

View more