Koozali.org formerly Contribs.org

smeserver-freepbx

Offline soprom

  • *
  • 589
    • www.logiciel-libre.org
smeserver-freepbx
« on: December 05, 2008, 05:09:13 PM »
A new contribs appeared quietly on http://sme.firewall-services.com/spip.php?article63 (in french).

If you don't need multi-tenants functionnalities and are operating in Americas this is a very interesting application. You either use seltintra or freepbx BUT NOT BOTH!

Here's a summary of it:

Add ATRPMS repo from this method (based on Cactus recommandation):
http://wiki.contribs.org/ATrpms

Download files:
Code: [Select]
mkdir -p rpms/freepbx
cd rpms/freepbx
wget http://sme.firewall-services.com/downloads/freepbx/rpms/smeserver-freepbx-0.1-8.el4.sme.noarch.rpm
wget http://sme.firewall-services.com/downloads/freepbx/rpms/freepbx-src-2.5.1-0.el4.sme.noarch.rpm

Install:
Code: [Select]
yum --enablerepo=atrpms localinstall ./*freepbx*.rpm
signal-event freepbx-update

Then use server-manager -> Telephony to manage the pbx.

Many thanks to Daniel for this great project!
« Last Edit: December 05, 2008, 05:47:50 PM by soprom »
Sophie from Montréal

Offline cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: smeserver-freepbx
« Reply #1 on: December 05, 2008, 05:36:31 PM »
Add ATRPMS repo:
Code: [Select]
db yum_repositories set atrpms repository BaseURL http://dl.atrpms.net/el4-i386/atrpms/stable EnableGroups yes Name 'ATrpms' Visible yes status disabled GPGCheck yes GPGKey http://ATrpms.net/RPM-GPG-KEY.atrpms
expand-template /etc/yum.conf
I seriously suggest you install ATrpms with this command instead of the command listed above. The command given here misses excludes and might update packages from the core you do not want to upgrade.

Addendum: please post this in the wiki as well in the Howto Category.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #2 on: December 05, 2008, 05:59:36 PM »
Hi.

I haven't announced it sooner because I wanted to test several installs before. But now I use it on production servers and it's working great.

I'll make a wiki page ASAP.
C'est la fin du monde !!! :lol:

Offline Tib

  • *
  • 571
    • http://www.tibors.net
Re: smeserver-freepbx
« Reply #3 on: March 13, 2009, 06:06:47 AM »
anything happening with this ... would love to try it out

Can't find any docs etc in the wikki

Regards,

Tib

Offline soprom

  • *
  • 589
    • www.logiciel-libre.org
Re: smeserver-freepbx
« Reply #4 on: March 13, 2009, 02:32:36 PM »
Sophie from Montréal

Offline Teviot

  • *
  • 610
Re: smeserver-freepbx
« Reply #5 on: March 14, 2009, 09:55:23 AM »
Hi

Just installed FreePBX on to a virtual amchine to try. I currently use SAIL and thought I would try FreePBX.

My problem is that after intstall and reboot, the system doesn't start I get

Quote
Bad Gateway
The proxy server received an invalid response from an upstream server.
from the server manager panel after clicking on "FreePBX" and "Flash Panel Operator"

Asterisk is running and I can't locate and english doc's

Can someone point my in the right direction please?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline soprom

  • *
  • 589
    • www.logiciel-libre.org
Re: smeserver-freepbx
« Reply #6 on: March 14, 2009, 02:58:41 PM »
Did you do use the link from the last post?
upto signal-event freepbx-update

Sophie from Montréal

Offline Teviot

  • *
  • 610
Re: smeserver-freepbx
« Reply #7 on: March 15, 2009, 03:51:19 AM »
Yes I did. Even double checked it
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #8 on: March 16, 2009, 04:13:37 PM »
i am very interested in this project as i need to do an installation soon.

please help the noob

i have the following needs:
the client has the following: 5 outgoing lines, 3 incoming lines

i need to connect 5 ip/sip phones (what do i get? sip phones or ip phones or just a converter to convert the old analog phones to ip) then place the phones on the network with an ip address?

what hardware do i need to install on the sme 7.4 box for the phone lines?

any help greatly appreciated

Offline soprom

  • *
  • 589
    • www.logiciel-libre.org
Re: smeserver-freepbx
« Reply #9 on: March 16, 2009, 04:17:06 PM »
To get this kind of basic information about ip telephony, a good starting point is http://www.voip-info.org/wiki/

Since you are asking this kind of questions, I would suggest to test and learn before jumping into a real project. Only my opinion tho...
Sophie from Montréal

Re: smeserver-freepbx
« Reply #10 on: March 18, 2009, 10:54:00 AM »
Hi.

I haven't announced it sooner because I wanted to test several installs before. But now I use it on production servers and it's working great.

I'll make a wiki page ASAP.

Installed since 3 months and works like a charm! (sme7.4 and freephonie)
Freepbx prompt you by mail when there is some modules or core updates. very usefull and... updates works.

Maybe one thing you can add is a how to install the localized langage speechs in freepbx. (prompts)

thanks
david


« Last Edit: March 18, 2009, 11:49:42 AM by dadoudidon »

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #11 on: March 18, 2009, 10:58:21 AM »
I've added a basic wiki page http://wiki.contribs.org/FreePBX

It's not complete yet. I'll try to add informations on how-to add additional prompts (at least french prompts) and how to configure some hardware cards ASAP.

Do not hesitate to contribute to the wiki page if you have the time.

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

Offline Teviot

  • *
  • 610
Re: smeserver-freepbx
« Reply #12 on: March 22, 2009, 03:59:28 AM »
Hi

Just installed FreePBX on to a virtual amchine to try. I currently use SAIL and thought I would try FreePBX.

My problem is that after intstall and reboot, the system doesn't start I get
 from the server manager panel after clicking on "FreePBX" and "Flash Panel Operator"

Asterisk is running and I can't locate and english doc's

Can someone point my in the right direction please?

the responce i get is

Quote
Bad Gateway
The proxy server received an invalid response from an upstream server.



So does anyone have any idea's?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline soprom

  • *
  • 589
    • www.logiciel-libre.org
Re: smeserver-freepbx
« Reply #13 on: March 22, 2009, 05:20:35 AM »
I think there was some special action needed to install speex. Maybe you should search that way. Just a guess.
Sophie from Montréal

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #14 on: March 23, 2009, 08:46:49 AM »
Hi. FreePBX uses a special instance of apache runing under asterisk account. This instance is accessible with ProxyPass, just like the server-manager. That means that if you get
Code: [Select]
Bad Gateway
The proxy server received an invalid response from an upstream server.
then there's something wrong with this instance of apache. You should check it's runing:
Code: [Select]
expand-template /etc/httpd/fpbx-conf/httpd.conf
httpd -f /etc/httpd/fpbx-conf/httpd.conf -t
You should see a message like
Code: [Select]
Syntax OK
If it's the case, then, run
Code: [Select]
sv t /service/httpd-fpbx
You can also look at the logs to see what's going on:
Code: [Select]
tailf /var/log/httpd/fpbx_error_log
C'est la fin du monde !!! :lol:

Offline Teviot

  • *
  • 610
Re: smeserver-freepbx
« Reply #15 on: March 23, 2009, 06:19:55 PM »
Thank you for your response.  Will give this a try soon.
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline wires

Re: smeserver-freepbx
« Reply #16 on: March 31, 2009, 10:33:04 PM »
nice system, i am giving it a try right now..

VIP-ire, i followed your guide in wiki.contribs and everything is working accordingly to plan.

now i need to figure out how to use it and what hardware i need to install on my server to be able to pick up calls and also which landline phones work with this.
« Last Edit: March 31, 2009, 10:44:38 PM by wires »

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #17 on: March 31, 2009, 10:35:18 PM »
an error arise when i try to go to the panel page, i get this error: Couldn't load variables.txt?aldope=80715
I think this error will disappear once you have created some extensions/trunks
C'est la fin du monde !!! :lol:

Offline wires

Re: smeserver-freepbx
« Reply #18 on: March 31, 2009, 10:45:21 PM »
sorry i was too quick in posting that error, i reboot the system and the error is gone.

where is the directory to put wav/mp3 waiting sounds ?
i need to learn the home phone codes to use with FreePBX and i might just get a new phone today if someone help me thru it! seems complicated, looks like something they use at my work place too..
« Last Edit: March 31, 2009, 10:59:31 PM by wires »

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #19 on: April 01, 2009, 09:41:25 AM »
where is the directory to put wav/mp3 waiting sounds ?
You can upload files using the music on hold module in FreePBX. Please, read the official documentation for more detail: http://freepbx.org/support/documentation
C'est la fin du monde !!! :lol:

Re: smeserver-freepbx
« Reply #20 on: April 01, 2009, 05:35:55 PM »
Hi there VIP-ire,
Firstly, thanks very much for your contributions to this Free PBX project. I have been a user of A@H and Trixbox for some time and am very pleased to see the FreePBX contribution for SME Server.

I have a Digium TDM400 card installed in my system but I am not able to set up the ZAP Trunks. I have installed the DAHDI drivers and the system recognises the card (the LED's are on) but they are not shown on the trunks list.

Any assistance or advice would be greatly appreciated.

Once again thanks for your effort!

Regards,

Offline wires

Re: smeserver-freepbx
« Reply #21 on: April 02, 2009, 05:49:46 AM »
thanks VIP-ire for the reply, i know that i can use the admin area to put the music, i asked that question too fast again.

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #22 on: April 17, 2009, 01:15:39 AM »
Hi there VIP-ire,
Thanks very much for your help on the Free PBX project. I am a noob at asterisk/freepbx and need some help. Still doing the Baby Steps.

I have a Digium TDM410P card installed in my system. I can see that the Card is Listed on my SME Server (using hardware contrib) Where do I look in FreePBX to see if the Card is Detected for me to use. What is my First step after the Card has been Recognised by FreePBX.

Any Help Greatly Appreciated

Offline jmbac

Re: smeserver-freepbx
« Reply #23 on: April 17, 2009, 05:15:13 PM »
If you have DAHDI-TOOLS installed  try the following command;

Code: [Select]
modprobe dahdi
Code: [Select]
dahdi_cfg -v

DAHDI Tools Version - 2.1.0.2

DAHDI Version: 2.1.0.4
Echo Canceller(s):
Configuration
======================


jon


0 channels to configure.

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #24 on: April 18, 2009, 06:44:16 AM »
jmbac thanks for the reply

when i do " modprobe dahdi " i get * Module dahdi not found *

when i do " dahdi_cfg -v " i get

DAHDI Tools Version - 2.1.0.2

Notice: configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ct1'

1 error(s) detected


what now?

thanks for your help
« Last Edit: April 18, 2009, 06:49:35 AM by Bud »

Offline David Harper

  • *
  • 653
  • Watch this space
    • Workgroup Technology Solutions
Re: smeserver-freepbx
« Reply #25 on: April 18, 2009, 09:48:14 AM »
Does the DAHDI driver match the current kernel?

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #26 on: April 18, 2009, 10:55:28 AM »
hi david

Quote
Does the DAHDI driver match the current kernel?

i'm sorry i don't know how to find this out. still a noob at this

Offline jmbac

Re: smeserver-freepbx
« Reply #27 on: April 18, 2009, 06:04:12 PM »
Run this command
Code: [Select]
uname -r
2.6.18-128.1.6.el5

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #28 on: April 18, 2009, 06:19:46 PM »
jmbac thanks for the help

Code: [Select]
when i run " uname -r "
i get " 2.6.9-78.0.8.Elsmp "

what now ?  do i have to use a bigger hammer :grin:

Offline jmbac

Re: smeserver-freepbx
« Reply #29 on: April 18, 2009, 06:26:04 PM »
Also run this command to check dahdi kernel modules installed

Code: [Select]
rpm -qa | grep dahdi

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #30 on: April 18, 2009, 07:13:16 PM »
jmbac thanks for the quick reply

ok captain i typed in

Code: [Select]
rpm -qa | grep dahdi
i got back

warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
dahdi-tools-2.1.0.2-59el14
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
dahdi-linux-kmdl-2.6.9-78.0.13.EL-2.1.0.4-60.el4
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
dahdi-linux-2.1.0.4-60.el4


well that's it. now what?  :smile:

thanks again


Offline jmbac

Re: smeserver-freepbx
« Reply #31 on: April 19, 2009, 07:52:08 PM »
As you indicated installed dahdi module "dahdi-linux-kmdl-2.6.9-78.0.13.EL" is not compatible with installed kernel "2.6.9-78.0.8.Elsmp"   ..

 You need to install the right dahdi module which is compatible with installed kernel..

Code: [Select]
yum --enablerepo=smecontribs install dahdi-tools dahdi-linux dahdi-linux-kmdl-$(uname -r)
more info http://wiki.contribs.org/FreePBX




« Last Edit: April 19, 2009, 10:37:29 PM by jmbac »

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #32 on: April 20, 2009, 06:32:55 AM »
jmbac thanks for your help

yes i have issued the command during my installation and after the installation
Code: [Select]
yum --enablerepo=smecontribs install dahdi-tools dahdi-linux dahdi-linux-kmdl-$(uname -r)

my problem seems to be that it returns an argument

Code: [Select]
No Match for argument: dahdi-linux-kmdl-2.6.9-78.0.8.Elsmp
Nothing to do

where do i get the right dahdi tool rpm(s) to install?
« Last Edit: April 22, 2009, 09:59:50 AM by Bud »

Offline David Harper

  • *
  • 653
  • Watch this space
    • Workgroup Technology Solutions
Re: smeserver-freepbx
« Reply #33 on: April 20, 2009, 07:15:21 AM »
Run yum update to get the latest kernel and then you should be fine.

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #34 on: April 20, 2009, 07:23:48 PM »
thanks for the info David

as you said i did a

Code: [Select]
yum update
then

Code: [Select]
yum --enablerepo=smecontribs install dahdi-tools dahdi-linux dahdi-linux-kmdl-$(uname -r)
then

Code: [Select]
signal-event post-upgrade; signal-event reboot
that sorted out all the hardware driver problems for the TDM410P. asterisk/freepbx is working and recognises the Digium TDM410P Card.

thanks again for all the help guys

much appreciated  :smile:
« Last Edit: April 21, 2009, 06:20:16 AM by Bud »

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #35 on: April 21, 2009, 01:44:33 PM »
ok now to setup this animal

currently on my FreePBX Admin Menu i have two notices

1. There are 9 modules available for online upgrades
2. 53 New modules are available

how do i upgrade and install the new modules?  :P

Offline jmbac

« Last Edit: April 21, 2009, 04:08:24 PM by jmbac »

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #37 on: April 22, 2009, 05:46:38 AM »
jmbac thanks for the help

for those that need to know the easy way to installing and upgrading modules in freepbx just do the following

login to your sme freepbx server admin module - https://yoursmeserver/freepbx/admin

Click on the Tools tab, then Module Admin, then on the Module Administration page click on Check for updates online. You can click on "Upgrade all" at the bottom of the page to get all the upgrades, then click on any uninstalled modules that you want to install, then click on Process when you are finished. Don't forget to click the orange bar when you are all through. Oh, and if you ever find and install a module to upgrade to a new version of FreePBX, be sure to read the instructions it will show you and follow them exactly.

hope this helps  :smile:

thanks again for all the help guys


« Last Edit: April 22, 2009, 09:58:18 AM by Bud »

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #38 on: April 23, 2009, 06:44:19 PM »
jmbac just a question

my softphones "xlite" seem to be able to connect to the freepbx server and the extensions are recognised. however i do not seem to be able to make an outside call through the tdm410p pci card. it does have on fxo board on it. no fxs

do i need to configure the dahdi config file? how would i know that asterisk/freepbx does see the tdm410p. when my sme 7.4 server boots up it does load the dahdi files

any ideas  :smile:

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #39 on: April 24, 2009, 05:19:34 PM »
You have to configure your TDM card before using it. You should have a look at FreePBX documentation, I think there's some hints.

Basically, you'll have to configure your channels, this can be done with the command:
Code: [Select]
dahdi_genconf

Now, replace the context for trunks as dahdi__genconf put trunks channel in context from-pstn and FreePBX expect them in from-zaptel:

Code: [Select]
sed -i -e "s/from-pstn/from-zaptel/g" /etc/asterisk/dahdi-channels.conf
Now you need to configure your global chan_dahdi configuration: edit the file /etc/asterisk/chan_dahdi.conf and adapt it to your need, also, don't forget to include your dahdi channels configuration here (there should be a line like #include dahdi-channels.conf)

Then, you should comment each uneeded dahdi driver, for this, edit the file (it's not templatized) /etc/dahdi/modules and comment the driver you don't need.
Code: [Select]
Then /etc/init.d/dahdi restart

Now go in FreePBX interface and create a new trunk (type 'Zap'). The important part here is to enter the corresponding channel number. Then apply your change and test
C'est la fin du monde !!! :lol:

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #40 on: April 28, 2009, 08:18:07 AM »
VIP-ire thanks for your input

i see on my tdm410p controller card that there is a green light active on port 0. is this an indication that the card is recognised and functional on my sme 7.4 server with freepbx?

i am using X-Lite as a softphone for my users. what ports do i need to port forward for my users outside of the office to contact my users inside my network?

thanks again for all the help  :smile:

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #41 on: April 28, 2009, 11:41:27 AM »
The green light just means the correct DAHDI driver is loaded (for the TDM410P, the driver is wctdm24xxp).
It doesn't means it's correctly configured for asterisk
« Last Edit: April 28, 2009, 01:33:29 PM by VIP-ire »
C'est la fin du monde !!! :lol:

Offline nefkho

  • ****
  • 183
    • http://www.cagothonglines.com
Re: smeserver-freepbx
« Reply #42 on: November 04, 2009, 01:37:12 AM »
hi, can i install FreePBx on SME 7.4 with server mode only?

and how?

thanks,
Nef Kho  :-) .........

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #43 on: November 04, 2009, 08:27:14 AM »
Yes, it can work in server only mode. Just follow the wiki instruction: http://wiki.contribs.org/FreePBX

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

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: smeserver-freepbx
« Reply #44 on: November 05, 2009, 01:40:39 AM »
thanks for the info David

as you said i did a

Code: [Select]
yum update
then

Code: [Select]
yum --enablerepo=smecontribs install dahdi-tools dahdi-linux dahdi-linux-kmdl-$(uname -r)
then

Code: [Select]
signal-event post-upgrade; signal-event reboot
that sorted out all the hardware driver problems for the TDM410P. asterisk/freepbx is working and recognises the Digium TDM410P Card.

thanks again for all the help guys

much appreciated  :smile:

This do not solve my problem:
Code: [Select]
[root@lobo ~]# rpm -ivh dah*
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
Preparing...                ########################################### [100%]
        package dahdi-linux-kmdl-2.6.9-78.0.22.EL-2.1.0.4-60.el4 is intended for a i686 architecture
[root@lobo ~]# uname -a
Linux lobo 2.6.9-78.0.22.EL #1 Thu Apr 30 19:06:46 EDT 2009 i686 i686 i386 GNU/Linux

I'm running on a Pentium III so it's a i686... why SME do not know it ?

FYI: I just moved my HDD from a epia (i586) motherboard.


Thanks
...

Offline janet

  • ****
  • 4,808
Re: smeserver-freepbx
« Reply #45 on: November 05, 2009, 02:11:17 AM »
jader

Quote
I'm running on a Pentium III so it's a i686... why SME do not know it ?
FYI: I just moved my HDD from a epia (i586) motherboard.

When making a major hardware change you should do an upgrade install from the sme7.4 CD so that correct drivers and kernel & modules get installed.
Then run a normal yum update afterwards.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: smeserver-freepbx
« Reply #46 on: November 05, 2009, 11:39:13 AM »
Mary

Have done all steps (upgrade from CD; yum update; rpm -ivh dahdi* ) and I'm getting exact same error message.

Any other tips?

Thanks

Jáder
...

Offline janet

  • ****
  • 4,808
Re: smeserver-freepbx
« Reply #47 on: November 05, 2009, 12:53:34 PM »
jader

Do you still have the sme i586 switch in your grub.conf file ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: smeserver-freepbx
« Reply #48 on: November 05, 2009, 01:18:15 PM »
Mary

I have found nothing:
Code: [Select]
macmini:~ jader$ sshk root@192.168.13.1
Last login: Thu Nov  5 08:34:41 2009
[root@lobo ~]# grep -i i586 /etc/grub.conf 
[root@lobo ~]# date
Thu Nov  5 20:08:28 BRST 2009
[root@lobo ~]#


This is the file:
Code: [Select]
[root@lobo ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
hiddenmenu
title SME Server (2.6.9-78.0.22.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.22.EL ro root=LABEL=/
initrd /initrd-2.6.9-78.0.22.EL.img
title SME Server (2.6.9-78.0.13.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.13.EL ro root=LABEL=/
initrd /initrd-2.6.9-78.0.13.EL.img
title SME Server (2.6.9-78.0.8.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.8.EL ro root=LABEL=/
initrd /initrd-2.6.9-78.0.8.EL.img
title SME Server (2.6.9-67.0.7.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.0.7.EL ro root=LABEL=/
initrd /initrd-2.6.9-67.0.7.EL.img
[root@lobo ~]#

I'm searching at google right now.
And google anwer: do a "uname -i" so

Code: [Select]
[root@lobo ~]# uname -i
i386

that's odd... searching more:
Code: [Select]
[root@lobo ~]# locate kernel-2.6.9-78.0.22.EL|grep rpm
/var/cache/yum/smeupdates/packages/kernel-2.6.9-78.0.22.EL.i586.rpm
 

So I'm running a i586 kernel... even after a cd upgrade.
Maybe time to a bug report.

anyway... this is not a FreePBX issue... will open a bug and new thread to discuss it if necessary.
« Last Edit: November 05, 2009, 11:53:11 PM by jader »
...

Offline janet

  • ****
  • 4,808
Re: smeserver-freepbx
« Reply #49 on: November 06, 2009, 03:10:27 AM »
jader
 
Quote
So I'm running a i586 kernel... even after a cd upgrade.

That's what I suspected. I'm not sure the commands you issued prove that though.

You need to do a CD install, not a CD upgrade.
The CD install process will detect an existing install of sme exists, so then choose to upgrade it rather than wipe the disk and do a fresh install.
Correct kernels, modules and drivers should then be installed.

Alternatively you could manually install the correct kernel & modules, then edit /boot/grub/grub.conf to boot to that kernel.
Then delete the old kernels etc, see this and links mentioned
http://forums.contribs.org/index.php/topic,42927.0.html



« Last Edit: November 08, 2009, 11:55:37 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: smeserver-freepbx
« Reply #50 on: November 06, 2009, 11:34:22 AM »
Mary
I did a CD install, choose upgrade and all it dit was to return rkhunter rpm... after that I did  a yum update who replaced rkhunter again and nothing was changed at kernel level.

Even worst. When I try to install a i686 kernel, I got same error message...it's a i686 rpm ...no for i386 .

I search grub.conf and see nothing about i586.
But when I search /var/yum/cache I found kernel.i586 packages.

« Last Edit: November 06, 2009, 11:56:52 AM by jader »
...

Offline janet

  • ****
  • 4,808
Re: smeserver-freepbx
« Reply #51 on: November 06, 2009, 07:03:43 PM »
jader

Quote
uname -a
Linux lobo 2.6.9-78.0.22.EL #1 Thu Apr 30 19:06:46 EDT 2009 i686 i686 i386 GNU/Linux

man uname
gives
uname -m (machine)
i686
uname -p (processor)
i686
uname -i (architecture)
i386

All current IBM PC's are 386 based

uname -a
shows all options
So that all looks OK to me.

Quote
...package dahdi-linux-kmdl-2.6.9-78.0.22.EL-2.1.0.4-60.el4 is intended for a i686 architecture...

Perhaps the issue is with your older PIII processor, maybe that package expects something more recent eg a Pentium 4 ???
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: smeserver-freepbx
« Reply #52 on: November 08, 2009, 01:09:14 PM »
Mary

It's a bug (open nbr 5568)... I'm having some problems to convince developers... but I'm sure I'm running i586 and even worst, an "yum install kerneli686" do not will install i686 kernel.
I'll retry FreePBX once my kernel bug is fixed.
...

Offline janet

  • ****
  • 4,808
Re: smeserver-freepbx
« Reply #53 on: November 08, 2009, 02:52:34 PM »
jader

I have looked at bug 5568.
Something seems wrong.
Your system appears to be reporting itself as a i686 but it won't let you install a i686 kernel. Hardware fault or wrong BIOS setting ??

It may be best to keep this in the bugtracker for now, assuming more input will come.

You can manually get the kernel package from here and do a yum localinstall but I suspect you have already done that (or similar) and the system won't let you install it.
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeupdates/i386/RPMS/
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #54 on: May 05, 2010, 01:45:53 PM »
hope you guys can help

trying to install freepbx on a new sme7.4 system with NO Digium or Telco Controller Card Installed

i cannot seem to install the dahdi tools

when i do a " modprobe dahdi " = FATAL: module dahdi not found
when i do a " uname -r " = 2.6.9-89.0.16.ELsmp

when i do a " rpm -qa | grep dahdi "

i get

warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature


when i do a " yum update " = No Packages marked for Update/Obsoletion

when i do a " yum --enablerepo=smecontribs install dahdi-tools dahdi-linux dahdi-linux-kmdl-$(uname -r) "

i get

No Match for argument: dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package dahdi-linux.i386 0:2.2.1.1-67.el4 set to be updated
---> Package dahdi-tools.i386 1:2.2.1.1-65.el4 set to be updated
--> Running transaction check
--> Processing Dependency: dahdi-linux-kmdl-2.2.1.1-67.el4 for package: dahdi-linux
--> Finished Dependency Resolution
Error: Missing Dependency: dahdi-linux-kmdl-2.2.1.1-67.el4 is needed by package dahdi-linux


 :shock:

any help greatly appreciated (please anybody)

Offline johnp

  • ****
  • 312
Re: smeserver-freepbx
« Reply #55 on: May 05, 2010, 02:32:21 PM »
Looks like it's in maintainer's repo. My bad, seems it isn't there
« Last Edit: May 05, 2010, 02:42:12 PM by johnp »

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #56 on: May 05, 2010, 02:43:22 PM »
johnp thanks for the info

what must i now do (sorry for the noob question)  :P


Offline johnp

  • ****
  • 312
Re: smeserver-freepbx
« Reply #57 on: May 05, 2010, 02:57:36 PM »
Did you try the additional steps in the wiki http://wiki.contribs.org/FreePBX like adding the fws repo and then trying to install everything again?

dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp is in the fws repo


Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #58 on: May 05, 2010, 03:05:18 PM »
johnp thanks for your input

i did as per http://wiki.contribs.org/FreePBX

[root@sme ~]# db yum_repositories set fws repository \
> BaseURL http://repo.firewall-services.com/sme/ \
> EnableGroups no GPGCheck no \
> Visible yes status disabled
[root@sme ~]# signal-event yum-modify

however when i do a

[root@sme ~]# yum --enablerepo=smecontribs --enablerepo=fws install smeserver-freepbx dahdi-linux-kmdl-$(uname -r)
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

what now ?

Offline johnp

  • ****
  • 312
Re: smeserver-freepbx
« Reply #59 on: May 05, 2010, 03:10:53 PM »
Wait a few minutes and try again. Yum is liely looking to see if there are updates

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #60 on: May 05, 2010, 03:14:04 PM »
thanks johnp

waited and now after the command i get


[root@sme ~]# yum --enablerepo=smecontribs --enablerepo=fws install smeserver-freepbx dahdi-linux-kmdl-$(uname -r)
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
smecontribs               100% |=========================| 1.9 kB    00:00
fws                       100% |=========================|  951 B    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-freepbx.noarch 0:0.1-26.el4.sme set to be updated
---> Downloading header for dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp to pack into transaction set.
dahdi-linux-kmdl-2.6.9-89 100% |=========================| 9.8 kB    00:00
---> Package dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp.i686 0:2.2.0.2-65.el4 set to be updated
--> Running transaction check
--> Processing Dependency: dahdi-tools for package: smeserver-freepbx
--> Processing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so for package: smeserver-freepbx
Importing Additional filelist information for dependency resolution
--> Processing Dependency: sox for package: smeserver-freepbx
--> Processing Dependency: /usr/sbin/asterisk for package: smeserver-freepbx
--> Processing Dependency: dahdi-linux = 2.2.0.2-65.el4 for package: dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp
--> Processing Dependency: dahdi-linux for package: smeserver-freepbx
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package dahdi-tools.i386 1:2.2.1.1-65.el4 set to be updated
---> Package dahdi-linux.i386 0:2.2.1.1-67.el4 set to be updated
---> Package asterisk-addons14.i386 1:1.4.10-25.el4 set to be updated
---> Package sox.i386 0:12.17.5-3 set to be updated
---> Package asterisk14.i386 1:1.4.30-90.el4 set to be updated
--> Running transaction check
--> Processing Dependency: libvorbis.so.0 for package: sox
--> Processing Dependency: asterisk-moh-opsound-wav for package: asterisk14
--> Processing Dependency: libvorbisenc.so.2 for package: asterisk14
--> Processing Dependency: libradiusclient-ng.so.2 for package: asterisk14
--> Processing Dependency: libpri.so.1.4 for package: asterisk14
--> Processing Dependency: libasound.so.2(ALSA_0.9) for package: asterisk14
--> Processing Dependency: libvorbisfile.so.3 for package: sox
--> Processing Dependency: libodbc.so.1 for package: asterisk14
--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4) for package: asterisk14
--> Processing Dependency: libtonezone.so.2.0 for package: asterisk14
--> Processing Dependency: libogg.so.0 for package: sox
--> Processing Dependency: libasound.so.2 for package: asterisk14
--> Processing Dependency: libgsm.so.1 for package: asterisk14
--> Processing Dependency: asterisk-core-sounds-en-gsm for package: asterisk14
--> Processing Dependency: libvorbis.so.0 for package: asterisk14
--> Processing Dependency: dahdi-linux-kmdl-2.2.1.1-67.el4 for package: dahdi-linux
--> Processing Dependency: libspeexdsp.so.1 for package: asterisk14
--> Processing Dependency: libogg.so.0 for package: asterisk14
--> Processing Dependency: libiksemel.so.3 for package: asterisk14
--> Processing Dependency: libspeex.so.1 for package: asterisk14
--> Processing Dependency: libvorbisenc.so.2 for package: sox
--> Processing Dependency: dahdi-linux = 2.2.0.2-65.el4 for package: dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package asterisk-moh-opsound-wav.noarch 0:2.03-56 set to be updated
---> Package libpri1.i386 1:1.4.10.2-25.el4 set to be updated
---> Package libvorbis.i386 1:1.1.0-3.el4_8.3 set to be updated
---> Package libradiusclient-ng2.i386 0:0.5.6-0.el4 set to be updated
---> Package dahdi-linux-kmdl-2.6.9-89.0.23.EL.i686 0:2.2.1.1-67.el4 set to be updated
---> Package libtonezone2.i386 1:2.2.1.1-65.el4 set to be updated
---> Package asterisk-core-sounds-en-gsm.noarch 0:1.4.17-60 set to be updated
---> Package libogg.i386 2:1.1.2-1 set to be updated
---> Package iksemel.i386 0:1.4-1.el4.rf set to be updated
---> Package alsa-lib.i386 0:1.0.6-5.RHEL4 set to be updated
---> Package libgsm1.i386 0:1.0.13-2.el4 set to be updated
---> Package unixODBC.i386 0:2.2.11-1.RHEL4.1 set to be updated
---> Package speex.i386 0:1.2-0.11.rc1.el4 set to be updated
--> Running transaction check
--> Processing Dependency: libgpg-error.so.0 for package: iksemel
--> Processing Dependency: libgnutls.so.11 for package: iksemel
--> Processing Dependency: libgcrypt.so.11 for package: iksemel
--> Processing Dependency: dahdi-linux = 2.2.0.2-65.el4 for package: dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp
--> Processing Dependency: libgnutls.so.11(GNUTLS_REL_1_0_9) for package: iksemel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libgcrypt.i386 0:1.2.0-3 set to be updated
---> Package libgpg-error.i386 0:1.0-1 set to be updated
---> Package gnutls.i386 0:1.0.20-4.el4_8.7 set to be updated
--> Running transaction check
--> Processing Dependency: dahdi-linux = 2.2.0.2-65.el4 for package: dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp
--> Finished Dependency Resolution
Error: Missing Dependency: dahdi-linux = 2.2.0.2-65.el4 is needed by package dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp

??????  :?

Offline johnp

  • ****
  • 312
Re: smeserver-freepbx
« Reply #61 on: May 05, 2010, 03:24:46 PM »
You might want to try the atrpm route

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #62 on: May 05, 2010, 03:41:31 PM »
thanks again johnp

did what you said and all seemed to be ok and installed

now when i want to install the freepbx rpm's this is what i get

freepbx-src-2.5.1-1.el4.sme.noarch.rpm  smeserver-freepbx-0.1-26.el4.sme.noarch.rpm

[root@sme freepbx]# yum localinstall *.rpm
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Examining freepbx-src-2.5.1-1.el4.sme.noarch.rpm: freepbx-src - 2.5.1-1.el4.sme.noarch
Examining smeserver-freepbx-0.1-26.el4.sme.noarch.rpm: smeserver-freepbx - 0.1-26.el4.sme.noarch
Marking smeserver-freepbx-0.1-26.el4.sme.noarch.rpm to be installed
freepbx-src-2.5.1-1.el4.sme.noarch.rpm: does not update installed package.
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-freepbx.noarch 0:0.1-26.el4.sme set to be updated
--> Running transaction check
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
--> Processing Dependency: sox for package: smeserver-freepbx
--> Processing Dependency: /usr/sbin/asterisk for package: smeserver-freepbx
--> Processing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so for package: smeserver-freepbx
Importing Additional filelist information for dependency resolution
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package sox.i386 0:12.17.5-3 set to be updated
--> Running transaction check
--> Processing Dependency: libvorbis.so.0 for package: sox
--> Processing Dependency: libvorbisfile.so.3 for package: sox
--> Processing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so for package: smeserver-freepbx
Importing Additional filelist information for dependency resolution
--> Processing Dependency: libvorbisenc.so.2 for package: sox
--> Processing Dependency: libogg.so.0 for package: sox
--> Processing Dependency: /usr/sbin/asterisk for package: smeserver-freepbx
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libvorbis.i386 1:1.1.0-3.el4_8.3 set to be updated
---> Package libogg.i386 2:1.1.2-1 set to be updated
--> Running transaction check
--> Processing Dependency: /usr/sbin/asterisk for package: smeserver-freepbx
--> Processing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so for package: smeserver-freepbx
Importing Additional filelist information for dependency resolution
--> Finished Dependency Resolution
Error: Missing Dependency: /usr/sbin/asterisk is needed by package smeserver-freepbx
Error: Missing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so is needed by package smeserver-freepbx

what now?

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #63 on: May 06, 2010, 05:42:45 AM »
please guys any ideas on my freepbx installation problem

when i try to install the freepbx contribs: freepbx-src-2.5.1-1.el4.sme.noarch.rpm  and smeserver-freepbx-0.1-26.el4.sme.noarch.rpm i get an error

[root@sme freepbx]# yum localinstall *.rpm
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Examining freepbx-src-2.5.1-1.el4.sme.noarch.rpm: freepbx-src - 2.5.1-1.el4.sme.noarch
Examining smeserver-freepbx-0.1-26.el4.sme.noarch.rpm: smeserver-freepbx - 0.1-26.el4.sme.noarch
Marking smeserver-freepbx-0.1-26.el4.sme.noarch.rpm to be installed
freepbx-src-2.5.1-1.el4.sme.noarch.rpm: does not update installed package.
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-freepbx.noarch 0:0.1-26.el4.sme set to be updated
--> Running transaction check
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
--> Processing Dependency: sox for package: smeserver-freepbx
--> Processing Dependency: /usr/sbin/asterisk for package: smeserver-freepbx
--> Processing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so for package: smeserver-freepbx
Importing Additional filelist information for dependency resolution
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package sox.i386 0:12.17.5-3 set to be updated
--> Running transaction check
--> Processing Dependency: libvorbis.so.0 for package: sox
--> Processing Dependency: libvorbisfile.so.3 for package: sox
--> Processing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so for package: smeserver-freepbx
Importing Additional filelist information for dependency resolution
--> Processing Dependency: libvorbisenc.so.2 for package: sox
--> Processing Dependency: libogg.so.0 for package: sox
--> Processing Dependency: /usr/sbin/asterisk for package: smeserver-freepbx
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libvorbis.i386 1:1.1.0-3.el4_8.3 set to be updated
---> Package libogg.i386 2:1.1.2-1 set to be updated
--> Running transaction check
--> Processing Dependency: /usr/sbin/asterisk for package: smeserver-freepbx
--> Processing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so for package: smeserver-freepbx
Importing Additional filelist information for dependency resolution
--> Finished Dependency Resolution
Error: Missing Dependency: /usr/sbin/asterisk is needed by package smeserver-freepbx
Error: Missing Dependency: /usr/lib/asterisk/modules/app_addon_sql_mysql.so is needed by package smeserver-freepbx

any ideas on what i must do to get this resolved  :-?
how do i resolve the Dependencies ?

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #64 on: May 06, 2010, 11:08:42 AM »
The problem is that your trying to install local rpms without enabling the smecontribs repo. Of course it cannot work because smeserver-freepbx requires the asterisk-addons package. Just follow the installation instructions on the wiki:

Code: [Select]
yum --enablerepo=smecontribs install smeserver-freepbx

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

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #65 on: May 06, 2010, 01:17:43 PM »
Daniel thanks for your reply

did what you said and also " signal-event freepbx-update "

now when i go to " https://mysmeip/freepbx/admin " i get an error

FATAL ERROR
DELETE FROM notifications WHERE module = 'core' AND id = 'AMPDBPASS' [nativecode=1146 ** Table 'freepbxdb.notifications' doesn't exist]SQL -
DELETE FROM notifications WHERE module = 'core' AND id = 'AMPDBPASS'


 :?

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #66 on: May 06, 2010, 01:22:21 PM »
Looks like you have rebooted your server before running the first signal-event freepbx-update (the signal-event post-upgrade && signal-event reboot isn't necessary at all for this contrib).

You have to re-install FreePBX like this:

Code: [Select]
rm -rf /opt/freepbx
signal-event freepbx-update
C'est la fin du monde !!! :lol:

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #67 on: May 06, 2010, 01:37:47 PM »
Thanks Daniel

did that but i get the same problem

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: smeserver-freepbx
« Reply #68 on: May 06, 2010, 01:41:43 PM »
So try removing everything as explained here: http://wiki.contribs.org/FreePBX#Uninstall (including running the cleanup script), and start over from scratch
C'est la fin du monde !!! :lol:

Offline Bud

  • *
  • 487
Re: smeserver-freepbx
« Reply #69 on: May 06, 2010, 01:58:44 PM »
Thank You Daniel

Did as you said: Uninstalled FreePBX and Reinstalled

All is OK and Running  :lol:

Sorry for the Noob Questions  :grin:

Much Appreciated

Re: smeserver-freepbx TDM400P
« Reply #70 on: August 09, 2010, 06:10:46 PM »
Hi guys,

I know this is a old post but I need some help with getting the Trunks on a TDM400P Wildcard with 3 x FXO modules working.
It seems like the card is recognised and installed in SME Server 7.5.1 but I cannot get the trunks to display in FOP, and calls cannot be made or received.

You will also notice it seems the modules are loaded as FXS.

Here are some details of my system and install.

I followed these instructions:
http://wiki.contribs.org/FreePBX
http://wiki.contribs.org/FreePBX/DAHDI

Used this to install:
yum --enablerepo=smecontribs --enablerepo=fws install smeserver-freepbx dahdi-linux-kmdl-$(uname -r)

uname -r
2.6.9-89.0.25.ELsmp


yum list smeserver-freepbx dahdi-linux-kmdl-$(uname -r)
Installed Packages
dahdi-linux-kmdl-2.6.9-89.0.25.ELsmp.i68 2.3.0-68.el4           installed       
smeserver-freepbx.noarch                 0.1-27.el4.sme         installed       


lspci
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
02:00.0 Ethernet controller: D-Link System Inc DL2000-based Gigabit Ethernet (rev 0c)
02:02.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
02:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
02:07.0 RAID bus controller: Promise Technology, Inc. PDC20319 (FastTrak S150 TX4) (rev 02)


/etc/dahdi/modules
# Digium TDM400P: up to 4 analog ports
wctdm


dahdi_genconf

sed -i -e "s/from-pstn/from-zaptel/g" /etc/asterisk/dahdi-channels.conf


cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Mon Aug  9 17:44:40 2010
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
# channel 1, WCTDM/4/0, no module.
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4

# Global data

loadzone   = us
defaultzone   = us


cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Mon Aug  9 17:44:40 2010
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
;;; line="2 WCTDM/4/1 FXSKS  (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 2
callerid=
group=
context=default

;;; line="3 WCTDM/4/2 FXSKS  (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 3
callerid=
group=
context=default

;;; line="4 WCTDM/4/3 FXSKS  (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 4
callerid=
group=
context=default


cat /etc/asterisk/chan_dahdi.conf
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

channel=2-4
language=en
context=from-zaptel
signalling=fxo_ks
rxwink=300              ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=6
hanguponpolarityswitch=yes
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=6.0
txgain=6.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include dahdi-channels.conf

group=1

;Include AMP configs
#include chan_dahdi_additional.conf


cat /etc/asterisk/chan_dahdi_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make    ;
; custom modifications, details at: http://freepbx.org/configuration_files       ;
;--------------------------------------------------------------------------------;
;


/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: ERROR: Module dahdi is in use
error
Loading DAHDI hardware modules:
  wctdm:                                                   [  OK  ]

Running dahdi_cfg:                                         [  OK  ]


This error is displayedin FreePBX Admin

Retrieve conf failed to copy file(s) from a module's agi-bin dir: copy(/usr/share/asterisk/agi-bin/list-item-remove.php): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/enumlookup.agi): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/user_login_out.agi): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/dialparties.agi): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/directory): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/recordingcheck): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/fixlocalprefix): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/checksound.agi): failed to open stream: Permission denied


WOW, sorry to post so many lines but this is what I thought would show someone something I'm missing.

Any help would be greatly appreciated.

Ryan