Ramblin

Member

Last active 11 years ago

  1. 11 years ago
    Wed Jun 26 00:10:08 2013

    If you trust the receptionist enough to do that, then would you trust the recetionist enough to give them the UserID/Password credentials for the user or the Master Password?

    If so, the receptionist could then sign in as the user and set the DND.

    But I agree with Nicolas, this sounds very dangerous; you better trust the receptionist (and never piss them off) :-)

  2. Mon Jun 24 19:18:26 2013

    OK,

    I have just re-read all the installation instructions and User Guide

    A couple of things I now know for sure

    1 ) My system is not fully functional. I do not have any of the Toolbar icons on the top in the toolbar. I have the Fliter/Dial/Available items in the Toolbar, but no icons and therefore very limited functionality.
    However, when I run
    /usr/local/fop2/fop2_server --test
    It comes back with
    Connection to manager OK!
    The panel is displaying basic connection status properly, but that is all.

    2) I did NOT run the
    /usr/local/fop2/generate_override_contexts.pl -write
    script, but it says this is not required; that it is an option if you want tighter FreePBX configuration

    3) I never had FOP1 installed. I installed FOP2 directly on a FreePBX install. Any chance there is something expected as a carry-over from FOP1 that I do not have?

    RIchard

  3. Mon Jun 24 14:53:16 2013

    registration status is not the same ad enabled/disabled in freepbx

    Understood. I included the Disabled and Registration comments only to be complete, but my focus is on the display when a trunk loses registration. I will only deal with that from now on.

    My installation is:
    PBXinaFlash package 2.0.6.4.4 "Green" with

    • Asterisk 11
    • FreePBX 2.11

    FOP2 2.26

    I am starting to think I may have not enabled some things properly in this installation.

    As en example

    When I dowloaded and installed the Demo (free) version, there was a menu item in the top right corner that allowed me to change the display so it only showed a small box for each extension and did not individually show the two lines and their status. In this (paid for) version, here is no menu in the top-right corner. I'd like to minimize the display size so the smaller box was useful.

    In this installation, i edited /usr/local/fop2/fop2.cfg so that it did NOT auto-configure users. I edited three lines:

    - #exec autoconfig-users-freepbx.sh  (I commented it out)
    - user=<User_Name>:<User_Password>:all (I added it - using real entries - to create an "admin" user sign-in credentials)
    - buttonfile=buttons.cfg (I uncommented it)

    I also tried the user setting with

    user=<User_Name>:<User_Password>:dial,hangup,meetme,pickup,record,spy,transfer,whisper,queuemanager,queueagent,phonebook,chat,preferences,hangupself,recordself,voicemailadmin

    with all the permissions explictly enabled (instead of all) as a double check, but there was no difference

    I manually run

    /usr/local/fop2/autoconfig-buttons-freepbx.sh > /usr/local/fop2/buttons.cfg ; service fop2 restart

    after any changes are made to ensure the latest button configuration is put in place

    my asterisk user setting in /etc/asterisk/manager_additinal.conf is (real user/secret entires blocked out)

    [<AMI_User>]
    secret = <AMI_Secret>
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    read = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate
    write = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate

    I am seeing the panel with the extenisons/trunks/conference/park items showing (I do not use queues) in it that I want and it properly shows when calls are made or incoming calls come in.

    But maybe something I have done has disabled the default functionality (the Menu for example) and that same thing is preventing the trunk monitoring for unregistered trunks.

    I followed the tutorial and instructions at
    http://www.elastixconnection.com/index. ... t&Itemid=1
    and
    http://www.fop2.com/documentation.php
    and did NOT add the filter elements as shown at
    http://www.fop2.com/blog/make-fop2-snap ... ventfilter

    Any ideas?

    Richard

  4. Mon Jun 24 13:38:41 2013

    Do your sip trunks have the qualify option set?
    Best regards,

    Yes, the SIP Trunks each have
    qualify=yes
    as part of their configuration

    The full configuration for the trunks (confidential info edited) is:

    username=<SIP_UserName>
    type=peer
    secret=<SIP_Secret>
    rfc2833compensate=yes
    relaxdtmf=yes
    qualify=yes
    progressinband=no
    insecure=port,invite
    host=<SIP_Host>
    dtmfmode=rfc2833
    disallow=all
    context=from-pstn
    canreinvite=no
    allow=ulaw

    The trunks are properly showing the call statuswhen the trunks are used; they are just not showing the trunk status when the trunk is not avaiable (disabled in FreePBX or lost Registration)

    I took a quick look at the files in /var/ww/html/fop2 but could not easlity figure out the one to look at to see about recognizing trunk status (not regstering). The comments were in (?Spanish?), which I assume works for you but unfortunately, I do not speak/read Spanish so I could not understand the comments.

  5. Fri Jun 21 12:48:15 2013

    You can use the FOP2 Buttons page in fop2admin to disable arbitrary buttons, including trunks.

    Any registration state that is advertised via AMI events will be shown in FOP2, if you do not see it, it is not broadcasted via AMI. Either upgrade Asterisk or be sure you have your buttons configured correctly.

    Best regards,

    I did see the configuration options in FreePBX -> Other -> fop2 buttons but I want the fop2 panel to automatically reflect the system settings (like it did in fop1), not to have to go in and manually match the fop2 panel settings to the system settings.

    I disabled the auto configuration option by commenting out line
    #exec autoconfig-users-freepbx.sh
    and uncommenting the line
    buttonfile=buttons.cfg
    so I could prevent users from seeing the fop2 panel; I only want admin to see/use the fop2 panel.

    I manually refresh the buttons.cfg file whenever I change the configuration by running, at the CLI
    /usr/local/fop2/autoconfig-buttons-freepbx.sh > /usr/local/fop2/buttons.cfg
    and it seems to do fine

    As for the "If you do not see it, it is not being broadcasted by AMI", I do see it when I use
    FreePBX -> Reports -> Asterisk Info
    Asterisk Info properly hides any trunks that are disabled
    Asterisk Info properly shows when a trunk loses registration
    so the information is being broadcasted

    I am on Asterisk 11 with FreePBX 2.11
    Is there any chance the flags sent are different in this configuration and not recognized by fop2 v2.26?

  6. Wed Jun 19 16:23:23 2013

    In FOP1, when a Trunk was declared "Disabled" in the setup, the trunk no longer showed up in the panel. I think this is a good idea since the resource is intentioanlly disabled and no longer avaialbe for use.

    In FOP2, when the Trunk is configured as Disabled, it still shows up in the FOP2 panel.

    Can I change this back to FOP1 style where the trunk does not show (without manually editing the buttons.cfg file) is the Trunk is disabled?

    In FOP1, when a Trunk lost registration or was waiting for a Request Sent response, the panel showed the Trunk in a lighter green.

    In FOP2, when I intentioally put in bad passwrod information to test this, the Trunk failed to Register (Showed as "Not Authenticated" in Asterisk Info), but FOP2 still showed it as green.

    How can I get FOP2 to change its display if a Trunk loses registration?

  7. Mon Jun 17 21:20:10 2013

    In older freepbx versions there was no way to add additional "tabs", only submenus, but that might have changed. I have to investigate.

    I'd be happy with an additional menue item (below/above the fop2 admin menue items in Other in FreePBX that would take me to the FOP2 panel

    R

  8. Mon Jun 17 12:32:34 2013

    I have seen numerous posts on how to change FreePBX settings so FreePBX links to FOP2 instead of FOP1

    However, I have also seen numersous posts about issues with FOP1 and FreePBX 2.11 (on Asterisk 11 on CentOS 6.4 in my case) so I have a FreePBX 2.11 setup that has never had FOP1 installed.

    I have FOP2 up and working and I licensed the server.
    I have installed the FOP2Admin for FreePBX and it is working from within FreePBX
    I can get the FOP2 panel to display by directly going to /var/www/html/fop2

    My question is:
    Is there a way to have a link from FreePBX (2.11) to the FOP2 panel when I have never installed FOP1?

    R