atsak

Member

Last active 12 years ago

  1. 12 years ago
    Sat Mar 17 04:15:55 2012

    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?

  2. 13 years ago
    Mon Aug 29 03:31:32 2011

    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 :D

  3. Sun Aug 28 00:19:51 2011

    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?

  4. Fri Aug 26 04:27:33 2011

    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 $

  5. Fri Aug 26 00:48:19 2011

    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?

  6. Thu Aug 25 22:22:25 2011

    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

  7. Thu Aug 25 22:16:20 2011
    atsak posted in Upgrade instructions.

    It was running.

    The permissions change worked . . .

  8. Thu Aug 25 05:19:22 2011
    atsak started the conversation buttons_custom.cfg not being loaded.

    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?

  9. Thu Aug 25 04:58:51 2011
    atsak posted in Upgrade instructions.

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

  10. Thu Aug 25 04:52:56 2011
    atsak posted in Upgrade instructions.

    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?

View more