Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

A

atsak

@atsak
Unfollow Follow
About
Posts
12
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • buttons_custom.cfg not being loaded
    A atsak
    Support

    I gave up trying to get this working, but I am upgrading to the new version and thought I'd try again.

    Does the AMI manager user and secret need to be the same on the external server for it to work? In other words, how does it query the external server for status?


  • buttons_custom.cfg not being loaded
    A atsak
    Support

    But I don't have any groups for users . . . that's what I keep saying.

    Really! I have never defined a group for users. It's just the default settings. I can't figure out how to post a screenshot of my freepbx fop2 admin screen shot where it shows no groups are configured . . . but I have one to prove it if you want 😄


  • buttons_custom.cfg not being loaded
    A atsak
    Support

    It says there is no buttons_custom.cfg

    But there is - here's the directory listing. I must be missing something simple.
    -rw-r--r-- 1 root root 91 Aug 25 01:07 buttons_custom.cfg

    root@pbx:/usr/local/fop2 $

    OK I found if I changed the script to use the full path /usr/local/fop2/buttons_custom.cfg, the autoconfig freepbx script will now call the file correctly.

    Except it still doesn't show up in the panel.

    What's my next step?


  • buttons_custom.cfg not being loaded
    A atsak
    Support

    It says there is no buttons_custom.cfg

    But there is - here's the directory listing. I must be missing something simple.

    -rw-r--r-- 1 root root 36 Aug 24 00:03 autobuttons.cfg
    -rw-r--r-- 1 asterisk asterisk 36 Jun 23 13:35 autobuttons.cfg.~1~
    -rwxr-x--x 1 root root 7889 Aug 26 00:19 autoconfig-buttons-freepbx.sh
    -rwxr-x--x 1 asterisk asterisk 7588 Jun 23 13:35 autoconfig-buttons-freepbx.sh.~1~
    -rwxr-x--x 1 root root 3032 Aug 24 00:03 autoconfig-users-freepbx.sh
    -rwxr-x--x 1 asterisk asterisk 2444 Jun 23 13:35 autoconfig-users-freepbx.sh.~1~
    -rw-r--r-- 1 root root 74974 Jun 23 18:31 borrame.log
    -rw-r--r-- 1 root root 1032 Aug 24 00:03 buttons.cfg.sample
    -rw-r--r-- 1 asterisk asterisk 1032 Jun 23 13:35 buttons.cfg.sample.~1~
    -rw-r--r-- 1 root root 91 Aug 25 01:07 buttons_custom.cfg
    -rw-r--r-- 1 root root 122 Aug 24 00:03 extensions_override_freepbx.conf
    -rw-r--r-- 1 asterisk asterisk 6569 Jun 23 13:35 extensions_override_freepbx.conf~
    -rw-r--r-- 1 asterisk asterisk 3001 Jun 23 13:35 FOP2Callbacks.pm
    -rw-r--r-- 1 root root 3001 Aug 24 00:03 FOP2Callbacks.pm.sample
    -rw-r--r-- 1 asterisk asterisk 5184 Jul 25 15:55 fop2.cfg
    -rw-r--r-- 1 root root 6200 Aug 24 00:03 fop2.cfg.new
    -rw-r--r-- 1 root root 77 Aug 24 00:03 fop2.lic
    -rw-r--r-- 1 root root 77 Jun 23 13:51 fop2.lic.~1~
    -rwxr-x--x 1 root root 8410474 Aug 24 00:03 fop2_server
    -rw-r--r-- 1 root root 7168 Aug 25 23:35 fop2settings.db
    -rwxr-x--x 1 root root 8219 Aug 24 00:03 generate_override_contexts.pl
    -rw-r--r-- 1 root root 5230 Aug 24 00:00 NEWFOPmezFEJ
    -rwxr-xr-x 1 root root 6934 Aug 24 00:03 recording_fop2.pl
    -rwxr-xr-x 1 root root 6271 Aug 24 00:03 tovoicemail.pl
    root@pbx:/usr/local/fop2 $


  • buttons_custom.cfg not being loaded
    A atsak
    Support

    You misunderstood what I was saying - the contents of the custom file are not included; I ran the debug as you requested and it did not show the extension in the buttons_custom.cfg file.

    What I was saying is that the script definitely contains the code to call it (ie I have the current version), and the file definately exists, but the button does not appear.

    How do I debug why buttons_custom.cfg file can't be loaded?


  • buttons_custom.cfg not being loaded
    A atsak
    Support

    Problem with buttons_custom.cfg is that if you define groups for users, they won't show up as they will not appear in the group definitions.

    To see if the file is being incuded or not, just run

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

    and eximine the output, does it show?

    I don't have any groups for users at all, so that's not an issue.

    It's not being included. Yet, here's the last few lines of the script.

    echo
    if [ -f buttons_custom.cfg ]; then
    cat buttons_custom.cfg
    fi

    And the /usr/local/fop2 folder I have it stored in ls - output

    -rw-r--r-- 1 asterisk asterisk 91 Aug 25 01:07 buttons_custom.cfg


  • Upgrade instructions
    A atsak
    Support

    It was running.

    The permissions change worked . . .


  • buttons_custom.cfg not being loaded
    A atsak
    Support

    New question

    in buttons_custom.cfg I have

    [SIP/XXXX]
    type=extension
    label=Bob
    extension=XXXX
    context=from-internal
    server=10.5.5.253

    (where XXXX is an extension number)

    But this extension does not show up in the FOP2 panel. Did I miss a step?


  • Upgrade instructions
    A atsak
    Support

    buttons_custom.cfg needs to have asterisk:asterisk permissions it looks like.


  • Upgrade instructions
    A atsak
    Support

    OK the upgrade to the Freepbx module has taken away those errors and I now get a connection to manager OK response.

    However, I cannot access the FOP2 panel. It hangs the "connecting to server attempt number 1" screen.

    I have done an amportal restart. Is there anything else I can look for?


  • Upgrade instructions
    A atsak
    Support

    The upgrade went fine but;

    /usr/local/fop2/fop2_server --status
    Unknown option: status
    Flash Operator Panel 2 - White Label Version.
    ERROR 1146 (42S02) at line 1: Table 'asterisk.fop2settings' doesn't exist
    ERROR 1146 (42S02) at line 1: Table 'asterisk.fop2permissions' doesn't exist
    ERROR 1054 (42S22) at line 1: Unknown column 'exclude' in 'where clause'

    Can't listen to port 4445

    Is this important? Everything "seems" to be working OK.


  • Upgrade instructions
    A atsak
    Support

    A search for "version upgrade" and "upgrade instructions" isn't showing any threads on how to move from a 2.x version of FOP2 to the latest version.

    I also can't find this in the documentation (just fresh installs).

    Can anyone point me to an existing thread or instruction list I can use as a guide? I assume it's a matter of stopping FOP2, copying some files, running an upgrade process or make type command, and restarting it, but don't have a lot of Linux experience so don't know what to do.

    Thanks.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups