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

G

gavinlew

@gavinlew
Unfollow Follow
About
Posts
21
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Elastix Call Recording
    G gavinlew
    Support

    Hi Nicolas,

    I have fixed the problem

    The issues were;

    1/ Elastix FOP2 config files being in /etc/elastix/fop2 (Removed these and symlinked to /usr/local/fop2)
    2/ Asterisk mysql_so not loading , fixed by uninstalling/reinstalling asterisk-add*
    2a/ Incorrect line in /etc/asterisk/cdr files , modified to enable cdr logging
    3/ Incorrect passwords in /etc/asterisk/mysql files - auto generated and fixed by manually changing passwords

    Many thanks for all your help - finally got there and call recording is working and data is displayed in Elastix Recordings tab again.

    Gavin


  • Elastix Call Recording
    G gavinlew
    Support

    Hi,

    Ok - there was the first problem, elastix calling the config file from /etc/asterisk/fop2 , I have moved the config files from /usr/local/fop2 into /etc/asterisk/fop2

    However, now I have a problem where fop2 will start and no longer accepts connections - I will take some time to remove all the configuration and rebuild.


  • Elastix Call Recording
    G gavinlew
    Support

    Hi Nicolas,

    fop2.conf ;

    ; For elastix Monitoring Tab:
    ;monitor_filename=g${DEST_EXTENSION}-${UNIQUEID}

    monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}${DEST_EXTENSION}%h%i%s_${UNIQUEID}

    ; For fop2 recording interface
    ;monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}${DEST_EXTENSION}%h%i%s_${UNIQUEID}

    Which results in the following files being created ;

    -rw-r--r-- 1 asterisk asterisk 312364 Oct 29 12:35 g7046-1383046959.12073-out.wav
    -rw-r--r-- 1 asterisk asterisk 312364 Oct 29 12:35 g7046-1383046959.12073-in.wav


  • Elastix Call Recording
    G gavinlew
    Support

    Hi Nicolas,

    I have tried passing this
    /usr/local/fop2/recording_elastix.pl g7046-1383046959.12073-in.wav g7046-1383046959.12073-out.wav 1383046959.12073.wav 1383046959.12073
    Use of uninitialized value in substitution (s///) at /usr/local/fop2/recording_elastix.pl line 173.

    and also

    /usr/local/fop2/recording_elastix.pl g7046-1383046959.12073-in.wav g7046-1383046959.12073-out.wav 1383046959.12073.wav 1383046959

    Use of uninitialized value in substitution (s///) at /usr/local/fop2/recording_elastix.pl line 173.

    and also

    /usr/local/fop2/recording_elastix.pl g7046-1383046959.12073-in.wav g7046-1383046959.12073-out.wav g7046-1383046959.12073.wav 1383046959

    Use of uninitialized value in substitution (s///) at /usr/local/fop2/recording_elastix.pl line 173.

    All giving the same error on line 173

    $uniqueid =~ s/.wav//g;


  • Elastix Call Recording
    G gavinlew
    Support

    Hi Nicolas,

    If I run the script from the command line I get the following errors ;

    $ /usr/local/fop2/recording_elastix.pl g7046-1383038562.8061-in.wav g7046-1383038562.8061-out.wav 1383038562.8061.wav
    Use of uninitialized value in substitution (s///) at /usr/local/fop2/recording_elastix.pl line 173.
    Use of uninitialized value in concatenation (.) or string at /usr/local/fop2/recording_elastix.pl line 202.

    Is the script mixing the files together, then die'ing before doing the SQL work?

    Many Thanks,


  • Elastix Call Recording
    G gavinlew
    Support

    Hi Nicholas,

    It appears that the database table isn't getting updated, the credentials work fine from the CLI, could you suggest how I could trap the error, i see from the notes in recording_elastix.pl not to modify certain lines.


  • Elastix Call Recording
    G gavinlew
    Support

    Hi,

    Many thanks - I've updated that now the cdrdb table can be read.

    Does the filename formatting look correct ;
    -rw-r--r-- 1 asterisk asterisk 210924 Oct 28 18:24 g7027-1382984590.175456.wav
    -rw-r--r-- 1 asterisk asterisk 787564 Oct 28 18:33 g7027-1382985002.175481.wav

    I still cannot see recorded calls via the webui/extension page logged in as the user (in above example extension 7027).

    Gavin


  • Elastix Call Recording
    G gavinlew
    Support

    Hi All,

    I have recently built a new Elastix box (2.4.0) running FOP2 2.27 and I cannot get call recordings to display in the Elastix admin tab.

    I can see that the call is being recorded -

    127.0.0.1 -> Action: SetVar
    127.0.0.1 -> Channel: SIP/7026-0000b975
    127.0.0.1 -> Variable: MONITOR_EXEC
    127.0.0.1 -> Value: /usr/local/fop2/recording_elastix.pl

    127.0.0.1 -> Action: Setvar
    127.0.0.1 -> Channel: SIP/7026-0000b975
    127.0.0.1 -> Variable: MONITOR_EXEC_ARGS
    127.0.0.1 -> Value: 1382969176.168878

    127.0.0.1 -> Mix: 1
    127.0.0.1 -> Action: Monitor
    127.0.0.1 -> Async: 1
    127.0.0.1 -> File: /var/spool/asterisk/monitor/7026_7026_140619_1382969176.168878
    127.0.0.1 -> Channel: SIP/7026-0000b975
    127.0.0.1 -> Format: wav
    127.0.0.1 -> ActionID: 181

    fop2.cfg is set to call recording_elastix.pl with the following parameters

    monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}${DEST_EXTENSION}%h%i%s_${UNIQUEID}
    monitor_format=wav
    monitor_mix=true
    monitor_exec=/usr/local/fop2/recording_elastix.pl

    I presume that recording_elastix.pl is being executed as the file reported above disappears shortly after recording has stopped.

    However, i think the mysql database connection fails as I do not see any data in the fop2.fop2recordings table.

    I am settings the $MYSQLPASS variable in recording_elastix.pl correctly. If I connect to the mysql server with the user fop2 , I cannot access the asteriskcdrdb database.

    mysql -u fop2 -p

    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.

    mysql> use asteriskcdrdb;
    ERROR 1044 (42000): Access denied for user 'fop2'@'localhost' to database 'asteriskcdrdb'

    I cant find any reference in the setup guides to allow the fop2 access to the asteriskcdrdb database however?


  • FOP2/Elastix Web GUI
    G gavinlew
    Support

    Hi Nicolas,

    You were correct, for some reason commercial-addons.repo was disabled. I have fixed this and installed fop2 from the repository.

    The installer gave the following error, but then said the install was complete - not sure if this is a bug?

    PHP Fatal error: Call to undefined function queues_list() in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 1320

    Many Thanks,

    Gavin


  • FOP2/Elastix Web GUI
    G gavinlew
    Support

    This explains then why its failing ;

    yum install fop2

    Loaded plugins: fastestmirror, security
    Repository LowayResearch is listed more than once in the configuration
    Loading mirror speeds from cached hostfile

    • addons: mirror.ox.ac.uk
    • base: repo.umbeehosting.com
    • extras: mirror.ox.ac.uk
    • updates: repo.umbeehosting.com
      Excluding Packages from CentOS-5 - Addons
      Finished
      Excluding Packages from CentOS-5 - Base
      Finished
      Excluding Packages from CentOS-5 - Extras
      Finished
      Excluding Packages from CentOS-5 - Updates
      Finished
      Setting up Install Process
      No package fop2 available.
      Nothing to do

    Looks like ive lost my elastix repos' somehow 😞


  • FOP2/Elastix Web GUI
    G gavinlew
    Support

    Hi Nicolas,

    That could be the problem, if I try to install FOP2 via the Elastix Addons tab I just get a grey screen when I click on the Try button.

    Cannot find anything specific about this problem in the error log however and as such have just installed from the .tar.gz

    Gavin


  • FOP2/Elastix Web GUI
    G gavinlew
    Support

    Hi,

    I am working on migrating a FOP2 installation over to a new elastix install.

    I have installed and licensed FOP2 and its up and running, however if you click on the FOP2 button from the elastix GUI , then try to use the side menu items such as FOP2 Users etc, a 404 error is displayed.

    Error: The module modules/fop2users/index.php could not be found!

    Should these modules actually exist or am I missing a symbolic link somewhere?

    Cheers

    Gavin


  • FOP2 Recording Issues in Elastix 2.2
    G gavinlew
    Support

    Hi Nicolas,

    Many thanks for the quick reply - I have disabled websockets in presence.js and FOP2 is working correctly again.

    Gavin


  • FOP2 Recording Issues in Elastix 2.2
    G gavinlew
    Support

    Hi Nicolas,

    I have updated my server to this new version, and renewed my license 🙂

    However, the fop2 service starts but the client is unable to connect, Connecting to server, attempt .... upto 10 then errors.

    ./fop2_server --test

    Flash Operator Panel 2 - Valid License (1)

    Connection to manager OK!

    netstat -lnp | grep 4445

    tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 7030/fop2_server

    From the outside world telnet connections are possible to port 4445 on the server IP.

    Any ideas?

    Gavin


  • FOP2 Recording Issues in Elastix 2.2
    G gavinlew
    Support

    Hi Nicolas,

    Do you advise using this version? I get a 404 error if I try to download it.

    Gavin


  • FOP2 Recording Issues in Elastix 2.2
    G gavinlew
    Support

    Hi Nicolas,

    That would be great if I could try the patched copy out - I also have you on googletalk as well , what time is good for you (I am in the UK).

    Gavin


  • FOP2 Recording Issues in Elastix 2.2
    G gavinlew
    Support

    Hi Nicolas,

    Thank you very much for your reply.

    To confirm.

    I am extension 7026 , my colleague is extension 7027

    If I make a call from 7026 and record it - this call is shown in the Monitoring tab in Elastix.

    If my colleague makes a call (7027) and I record it with my user 7026 (I have all permissions), then the recording is visible on the disc and the channels gets mixed together but is NOT visible under the Monitoring tab when i log in as user 7026.

    So I believe the monitor_exec scripts are being called correctly. I am calling ;

    monitor_exec=/usr/local/fop2/recording_elastix.pl

    Here is my call recorded as user 7026 for user 7027 ;

    /var/spool/asterisk/monitor
    -rw-r--r-- 1 asterisk asterisk 844204 Oct 9 14:19 7026_7027_140622_1349787888.140752.wav

    This call isnt displayed under the Monitoring tab.

    --
    Gavin


  • FOP2 Recording Issues in Elastix 2.2
    G gavinlew
    Support

    Hi Nicholas,

    Yes this is correct, the issue I am experiencing.

    Am I able to obtain a copy of the next release for testing as this feature is mostly being requested in house?

    Many Thanks,

    Gavin


  • FOP2 Recording Issues in Elastix 2.2
    G gavinlew
    Support

    Hi,

    I am also experiencing this issue, where the calls are being recorded and mixed together then not appearing in the Monitoring tab.

    -rw-r--r-- 1 asterisk asterisk 289964 Oct 9 13:47 7026_7030_134235_1349786396.140275.wav

    Im using Elastix 2.3.0 Revision 8 (according to the web interface).

    Nicholas - Did you resolve the issue you were looking into ?


  • FOP2 running but cannot login
    G gavinlew
    Support

    Hi,

    After upgrading to 2.26 I have exactly the same problem.

    I can only login from one machine using Chromium 18.0.1025.142

    Using Firefox 11 on the same machine returns Invalid Session errors, even with disableWebSocket = true and all caches deleted. The same behaviour is noticed on a machine running Internet Explorer 9.

  • 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