Sep. 16th, 2016 04:57 pm
mr_welk: (Default)
[personal profile] mr_welk
ставим FOP2 на эластикс:

Вкратце: панель рабочая но в бесплатном варианте бестолковая, в отличие от того же HelloAsterisk ...

wget -O - | bash

language keyword on the server side is deprecated. You must set the language only in the client side by editing the /var/www/html/fop2/js/preferences.js file, or each use can set its own language opening the preferences pane in the FOP2 UI. You should also set the language in /var/www/html/fop2/config.php for the PHP applications (Voicemail Explorer, Recordings Interface, Call History).

Дебаг для FOP2:

Server Side Debug

In order to capture debug output on the server side you must pass some command line options to the fop2_server binary:

  • -X Log Level

  • -l Log Directory

Log level is a bitwise operator, that means that depending on the bit some particular messages are going to be logged. The bit table is this:

1 AMI Events received
2 AMI Commands sent
4 FOP2 Client events received
8 FOP2 Client command sent
16 Verbose
32 Verbose+
64 Verbose++
128 Verbose+++

For enabling full debug, the level to use is 511 ( 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1)

If you want to enable only AMI Events/Commands, set debug level to 3 ( 2 + 1 )

So, if you want to start FOP2 with full level debug, and storing the debug log (named fop2_debug.log) into the /var/log directory, you should pass the following parameters to the fop2_server binary:

-X 511 -l /var/log

In order to pass those parameters to the service init script you must edit the settings file and add those options. On a Centos/RedHat based system, the file to edit is /etc/sysconfig/fop2 , while on Debian based distributions, the file is named/etc/default/fop2. So go ahead and edit the file, leave any options you might have already set there, like -d, and just append the new options, so it will look similar to this:

OPTIONS="-d -X 511 -l /var/log"

It is very important to NOT remove any other command line options you might have specified there, otherwise you will most probably break your init script.

Once the file is modified, restart FOP2.

On Centos/RedHat run

service fop2 restart

Once the service is restarted, you will have a /var/log/fop2_debug.log file with information that will help troubleshooting / debugging issues.
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
Account name:
If you don't have an account you can create one now.
HTML doesn't work in the subject.


Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.


mr_welk: (Default)

February 2017

12 13141516 1718

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 23rd, 2017 05:59 pm
Powered by Dreamwidth Studios