Koozali.org: home of the SME Server

Asterisk on SME7 (me again)

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Asterisk on SME7 (me again)
« Reply #120 on: February 18, 2006, 02:27:28 PM »
Hello raymondw,

Great job ... tried out your script and all worked great ... I didn't seem to have any files missing ... everything seems to be working. How would I know if those files are missing.

Actually loaded A4SME on the machine on Monday and all seemed fine ... the second time arround anyway ... the first time I tried I forgot to unpack the A4SME7 tar file but the second try did the trick.

I did notice that the asterisk ver is 2.0 b4 ... how hard would it be to update to ver 2.5 ... is there a lot involved?

Regards,

Tib.

ATMLogic

Module zaptel does not exist in /proc/modules
« Reply #121 on: February 20, 2006, 09:48:37 PM »
Soo... I made the change in Yum from 0 to 1, and I changed the install.sh and install_parts.sh  (then I edited the files again to make sure it was not cutting things to a new line (oops))  

I don't see much for any errors, but getting zap errors and  Module zaptel does not exist in /proc/modules  etc, and well, its just not working out for me :)

Also filling my inbox with /bin/bash: /var/lib/asterisk/agi-bin/run_wakeups: No such file or directory

So, I just tried the uninstal (now that's kewl! thinkin')
Any thoughts on this...  I can dump the server and start again from scratch... Also I tried this with the Digium TDM400P and the Ambient "Wildcard" no change with either card in the box.

Thanks

Offline RvLardin

  • ****
  • 82
  • +0/-0
    • http://sme.firewall-services.com
original script patched
« Reply #122 on: February 22, 2006, 06:07:24 PM »
At least !
 :oops:
I've updated the archive with the script patched by Raymondw.

Thanks a lot to you, Raymondw for getting into the code to guess what was wrong.
.. and thank also to GPL that help us to get pgm up-to-date even if we weren't the original authors.

By the way, thanks to all contributors who have posted in this thread and specially to Arne that encourage and help us by his early testing.

If I'm not wrong, the proposed patch was to enable the CentOS 'base' repository at the beginning and disable it at the end. In the same time, the 'ate' repository is added, and also enabled then disabled.

That are the two lines I've added to the script, from the raymondw's patch :
install.sh (begining):
# /sbin/e-smith/db yum_repositories setprop base status enabled
install_parts.sh (end):
#/sbin/e-smith/db yum_repositories setprop base status disabled

Is it OK, Raymondw ?

The problem that I can't resolve is that the installation is done with yum, i.e. :
# yum -y install asterisk

How can we be sure that the base and/or the ate repository will maintain the 'good' version of the binaries we need for SME7 ?
Won't it be more sure to use the old-style 'rpm -uvH' install, specifying the place and version of the file we need ?
I'm wondering and thinking about copying the 'good' version to our server.
...

BTW, we have created a new page for sme stuff :
sme.firewall-services.com
Take a moment to have a look at the new version of SME7admin, entirely re-coded by the original author, Landry, really amazing for the poor sysadmin we are.


For the moment, I have three customer's SME servers that are using Asterisk@Home for SME7 but I'm getting lot of difficulties to find the good VoIP service provider.
We use BroadVoice & Wengo trunks but it's not giving us the services we are looking for.
BroadVoice is ok to phone to US & Canada but we can't use it for calling to France (allways busy) ...

Did you get more success with other services providers ?
Please advise here and don't hesitate to detail your trunks configurations.
Did anyone tested 'Annatel' services (http://www.annatel.net/) ?

Thanks again to all of you.

RV.
----
"Those who are willing to lose some of their essential liberties in favour of security deserve neither and will lose both."
- Thomas Jefferson .

ATMLogic

SME 7pre3 Asterisk
« Reply #123 on: February 22, 2006, 06:54:44 PM »
Ok... so... If I am understanding this correctly... this should work on a clean SME 7.pre3 install, with a Digium Card (2fxo, 2fxs), just download the new tar file from 'ftp://anonymous@firewall-services.com/Asterisk/A4SME7.tar.gz'

run 'tar zxvf A4SME.tar.gz'

then sh install.sh and hold onto the cable modem and wait?

?  Also, if I have installed, uninstalled, then reinstalled, then uninstalled...  should I try again, or kill the system and restart... so far everything works just fine, however I have Zap errors, and Asterisk does not start (but I have the panel etc)

I do have a dedicated Asterisk@home thats ... working perfectly, but a SME with Asterisk would be just WAY too kewl to pass up  :)

raymondw

Asterisk on SME7 (me again)
« Reply #124 on: February 22, 2006, 11:20:37 PM »
@ATMLogic
I allways take a fresh machine to test with.
For me it is simple as I just copy the VMware harddisk back ;-)

@RvLardin
The lines are correct.
I copied the whole script to the site so nobody could do a wrong copy paste ;-)

@someoneelsewhowantstoknow
I'm busy with a 1.2.4 upgrade, so far so good....
I will post a new/my script when it installs without problems, atm i've got a couple :-(

Offline xboxer21

  • ***
  • 60
  • +0/-0
SME Script for A@H 2.6
« Reply #125 on: March 01, 2006, 05:36:26 PM »
There is an A@H SME script now in the new A@H 2.6 release.
Will install it and post my results later today.

Thanks
......

Offline xboxer21

  • ***
  • 60
  • +0/-0
Error during installtion
« Reply #126 on: March 01, 2006, 11:05:22 PM »
I tried installing A@H using the install_sme.sh script on a freshly installed SME server, but I had a lot of errors. I will have to go through the install logs to see what went wrong.
I noticed that the script installs dev tools, for which it needs to enable certain yum repos. The script did not enable the repositories sucessfully, therefore i manually enabled the repos and rerun the script. I still wasn't able to start asterisk after installation.
Has anyone tried installing it???
......

Offline JonB

  • *
  • 351
  • +0/-0
Asterisk on SME7 (me again)
« Reply #127 on: March 01, 2006, 11:23:14 PM »
I noticed yesterday that A@H 2.6 has SME7 install scripts. I was planning on having a go at installing it today.

Jon
...

jazbokes

Asterisk on SME7 (me again)
« Reply #128 on: March 02, 2006, 01:13:00 AM »
to enable yum repo..  add --enablerepo=xxx
#yum --enablerepo=base --enablerepo=updates -y install xxxx xxxx

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
What is the user name & password for Asterisk on SME7
« Reply #129 on: March 02, 2006, 10:36:55 AM »
I recently downloaded Asterisk (A4SME7.tar.gz) from http://firewall-services.com

The installation went good, but I have 1 problem, and that is with the user name & password.

What is it????

If you could supply me with a password & user name that would be great

Thanks, Russell
.........

raymondw

Re: What is the user name & password for Asterisk on SME
« Reply #130 on: March 02, 2006, 02:16:08 PM »
Quote from: "fixit"
I recently downloaded Asterisk (A4SME7.tar.gz) from http://firewall-services.com

The installation went good, but I have 1 problem, and that is with the user name & password.

What is it????

If you could supply me with a password & user name that would be great

Thanks, Russell


The same as your SME login....
user admin : admin
passwd : yoursmepassword

What user did you try?

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Asterisk on SME7 (me again)
« Reply #131 on: March 10, 2006, 12:52:39 PM »
Something for others to try ...

I loaded the asterisk ver off firewall-services on my machine ... ver 2.0b4 then I found that asterisk@home has an sme_install.sh in it now ... so I used it to upgrade the install form firewall-services and it workes ... mine is now ver2.6 and all pages still work as they should.

I still need to do some more testing but all looks fine so far ... maybe someone else would like to try it out ... on a test server only ... and see if I am correct.

Regards,

Tib

Offline RvLardin

  • ****
  • 82
  • +0/-0
    • http://sme.firewall-services.com
Asterisk@home 2.7 on SME
« Reply #132 on: March 29, 2006, 12:24:24 PM »
Tib said :
Quote

I loaded the asterisk ver off firewall-services on my machine ... ver 2.0b4 then I found that asterisk@home has an sme_install.sh in it now ... so I used it to upgrade the install form firewall-services and it workes ... mine is now ver2.6 and all pages still work as they should.


Thanks a lot, Tib for this tweak... that I just discover  :hammer:
It's really a good news to see that there's a sme_install script in the last A@Home version, thks to them :pint:
We are on the way to update our version, it's really cool to hear this good news.

The installation of the dev-tools is not a good thing on prod's servers, due to security issues, but it may be a good thing to use it to compile the needed files and then put the compiled files on our site for D/L.

We are also looking in the best way to better integrate SugarCRM in SME, and, if *very* lucky, using the sme LDAP for authentification and configuration of the extensions.
If anyone could pry ...
:)

BTW, we still have pbs to find good VoIp-to-PSTN providers, it seems that there is a new category : DID providers. Any returns ?

RV.
NB : Could the contrib's site admin switch this thread to SME7-contribs forum ?
THX.
----
"Those who are willing to lose some of their essential liberties in favour of security deserve neither and will lose both."
- Thomas Jefferson .

kangkc

Asterisk on SME7 (me again)
« Reply #133 on: March 30, 2006, 11:56:51 AM »
I have tried to install  AAH 2.7 on SME 7 RC1 but failed. I suspect it's due to Yum repository.

How do I do the modification to allow Yum install/update for AAH installation?

Some one mentioned about doing this:
to enable yum repo.. add --enablerepo=xxx
#yum --enablerepo=base --enablerepo=updates -y install xxxx xxxx

Does that mean I have to enable all the packages in AAH?

Offline RvLardin

  • ****
  • 82
  • +0/-0
    • http://sme.firewall-services.com
Asterisk on SME7 (me again)
« Reply #134 on: March 30, 2006, 12:05:52 PM »
kangkc wrote :
Quote

I have tried to install AAH 2.7 on SME 7 RC1 but failed

Did you respect the Tib's procedure/tweak :
1) install A@H4SME from our site (sme.firewall-services.com)
2) Donwload & expand the A@H 2.7 and run the sme_install script ?
----
"Those who are willing to lose some of their essential liberties in favour of security deserve neither and will lose both."
- Thomas Jefferson .