Koozali.org: home of the SME Server

Freepbx on sme 7.4

Offline ocascante

  • **
  • 36
  • +0/-0
Freepbx on sme 7.4
« on: March 03, 2010, 09:15:39 PM »
HI,

I did try to install freepbx on sme server 7.4 without success. First i had problems with the kernel version, then with the dahdi version, and finally i have this error:  fatal: cannot find freepbx_engine.

Thanks for any help!!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Freepbx on sme 7.4
« Reply #1 on: March 03, 2010, 10:24:07 PM »
how did you try to install it?

did you read this wiki page?

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Freepbx on sme 7.4
« Reply #2 on: March 03, 2010, 10:37:25 PM »
Yes, i did it. And a lot of internet pages more.
I have more than 6 days trying to install asterisk and freepbx.
The wiki page is incomplete or was written for a previous version i think.
I don't want to install Sail, just freepbx with asterisk.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Freepbx on sme 7.4
« Reply #3 on: March 03, 2010, 10:51:04 PM »
in this case report to bugzilla and the mantainer of the contrib

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Freepbx on sme 7.4
« Reply #4 on: March 03, 2010, 11:06:28 PM »
Well, is not a solution... but first i think the question is: someone has had success installing freepbx on sme server 7.4.


Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Freepbx on sme 7.4
« Reply #5 on: March 04, 2010, 07:51:13 AM »
Well, of course it's working. I use it on several production servers, and it's working great. There's just a little problem with the asterisk dependency for the moment (because ATRPMs packages has been renamed). But there's a version in smetest which should solve this. Just try (after having configured the fws repo as explained in the Wiki page http://wiki.contribs.org/FreePBX):

Code: [Select]
yum --enablerepo=fws install dahdi-linux-kmdl-$(uname -r)
yum --enablerepo=smecontribs --enablerepo=smetest install smeserver-freepbx
signal-event freepbx-update

Regards
C'est la fin du monde !!! :lol:

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Freepbx on sme 7.4
« Reply #6 on: March 05, 2010, 05:38:22 PM »
Thanks for your help
Maybe i am doing something wrong. I did configure the fws repo. When i try to install dahdi-linux-kmdl- with the kernel version, i have  an error: "missing dependency dahdi-linux = 2.2.0.2-65.e 4
If i try "yum --enablerepo=fws install dadhi-linux dahdi-linux-km.......  another error apears.


Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Freepbx on sme 7.4
« Reply #7 on: March 05, 2010, 05:42:37 PM »
And what about this:
Code: [Select]
yum --enablerepo=smecontribs --enablerepo=fws install dahdi-linux-kmdl-$(uname -r)
yum --enablerepo=smecontribs --enablerepo=smetest install smeserver-freepbx
signal-event freepbx-update
C'est la fin du monde !!! :lol:

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Freepbx on sme 7.4
« Reply #8 on: March 05, 2010, 05:46:16 PM »
The first line shows the same error: missing dependency: dahdi-linux-2.2.0.2-65.el4

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Freepbx on sme 7.4
« Reply #9 on: March 05, 2010, 05:53:43 PM »
VIP-ire: just tested myself:

Code: [Select]
Error: Missing Dependency: dahdi-linux = 2.2.0.2-65.el4 is needed by package dahdi-linux-kmdl-2.6.9-89.0.16.EL
Error: Missing Dependency: asterisk-addons is needed by package smeserver-freepbx
Error: Missing Dependency: asterisk is needed by package smeserver-freepbx
Error: Missing Dependency: /boot/vmlinuz-2.6.9-89.0.19.EL is needed by package dahdi-linux-kmdl-2.6.9-89.0.19.EL

HTH

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Freepbx on sme 7.4
« Reply #10 on: March 05, 2010, 05:57:49 PM »
Something funny is that apparently there no such dadhi-linux-2.2.0.2-65.el4.rpm.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Freepbx on sme 7.4
« Reply #11 on: March 05, 2010, 05:59:28 PM »
Ok. as I said before, the problem is that SME Server kernel are not in sync with CentOS ones. If you want to install FreePBX, you'll need to update your kernel to the latest available from smeupdates-testing (2.6.9-89.0.20.EL):

Code: [Select]
yum --enablerepo=smeupdates-tesing update kernel kernel-smp

Then, you should be able to install dahdi. Of course, installing packages from smeupdates-testing shouldn't be done directly on production system, so be carefull. I use those kernel (from smeupdates-testing) on several servers without problem but...

Regards
C'est la fin du monde !!! :lol:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Freepbx on sme 7.4
« Reply #12 on: March 05, 2010, 06:07:05 PM »
Ok. as I said before, the problem is that SME Server kernel are not in sync with CentOS ones. If you want to install FreePBX, you'll need to update your kernel to the latest available from smeupdates-testing (2.6.9-89.0.20.EL):

Code: [Select]
yum --enablerepo=smeupdates-tesing update kernel kernel-smp

Then, you should be able to install dahdi. Of course, installing packages from smeupdates-testing shouldn't be done directly on production system, so be carefull. I use those kernel (from smeupdates-testing) on several servers without problem but...

Regards

well.. is there any difference between kernels in smeupdates-testing and in centos' repo?

I mean:
Code: [Select]
[root@srvarch .ssh]# yum --enablerepo=centosplus update kernel

]cut[

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 kernel                  i686       2.6.9-89.0.20.plus.c4  centosplus         15 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         
Total download size: 15 M
Is this ok [y/N]:

is it ok?

Offline ocascante

  • **
  • 36
  • +0/-0
Re: Freepbx on sme 7.4
« Reply #13 on: March 05, 2010, 06:13:28 PM »
I knew it was a kernel problem but made a mistake trying to update it. I used "rpm -Uvh kernel .... " to update sme.
Now i gonna try using using your update instructions.
Thanks again and i will tell you how it works.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Freepbx on sme 7.4
« Reply #14 on: March 05, 2010, 06:23:32 PM »
well.. is there any difference between kernels in smeupdates-testing and in centos' repo?

I mean:
Code: [Select]
[root@srvarch .ssh]# yum --enablerepo=centosplus update kernel

Yes, there're some differences. Centos plus repo provides different kernels than Centos base repo (well, they are basically the same with the addtionnal support for hardware). DAHDI kernel modules on fws repo are built for centos kernels (those you can find in smeupdates-testing at the moment), not for centosplus ones. If you want to use centospluls kernel (once again, at your own risk), you can find DAHDI kmdl on ATRrpms. See this page for all the available DAHDI kmdl: http://atrpms.net/dist/el4/dahdi-linux/
C'est la fin du monde !!! :lol: