[OT] asternic_cdr 1.4 on freebox-2.10

  1. 12 years ago

    hi nicolas,

    from my previous post:

    • i have an asterisk 1.8.9 installed on centos 6 x64 with freepbx 2.10.beta1
    • i have installed and activated fop2-2.24-centos5-x86_64.tgz with the license.
    • i have installed the freepbx fop2 management module 1.2.10 :-)

    - i have now installed asternic asternic_cdr-1.4.tgz

    amportal doesn't restart as the module makes reference to inexistant fpdf files ...
    i installed php-fpdf from the epel repo and modified:

    /var/www/html/admin/modules/asternic_cdr/functions.inc.php

    near line 260 (created symlink in this directory pointing to fpd.php and the font directory). amportal now restarts

    the reports screen *almost* displays correctly, but is non functional -- extensions are displayed, but cdr info.

    should i be looking somewhere else to fix?

    thanks

    m

  2. admin

    11 Feb 2012 Administrator

    Freepbx 2.10 changed several things on the module handling, so not only fpdf must be placed, but also the javascript files needs to be loaded in a different way. I will install a 2.10 system next week and port the module whenever I have time. Most probably I will included fpdf in the module itself to not rely on the changing paths of the native cdr module.. I will also have to work on make the module work on older fpbx versions, 95% of users or more are using freepbx 2.9 or less.

  3. hi nicolas,

    thanks for the update ...

    as far as distros go, afaik trixbox is pretty much a dead project -- amazingly inept. from there i went to freepbx distro, but they have a very slow repository, and the rpms are unsigned. very dangerous -- a simple dns atatck, and you're cooked.

    i took a loook at other distros, and simply decided that the best and most secure way was install a signed distro (centos 6 in my case), installed the development tools, downloaded the signed tarballs from asterisk and freepbx, and just built my own. so much more control and it has been running with marvelous stability. i'm now in charge of when i upgrade kernels, and asterisk versions -- i'm much happier doing this -- it's a bit more work, but a far more granual approach. centos 6 has php 2.3 right in the repository, and the epel for extra stuff.

    freepbx distro, starting a few months back, included the 2.10 rc1 as part of their yum updates (although you need to run a script to get it to update properly), so there will be more users on 2.10 as time goes by. i just checked the freepbx web site, and they are are now on beta2, so i suspect that the final release will be available within a reasonable amount of time.

    thanks for your projects -- they are just great.

    cheers

    m

or Sign Up to reply!