Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: jibe on April 28, 2010, 05:30:09 PM

Title: Is there a *simple* way to install/upgrade SAIL ?
Post by: jibe on April 28, 2010, 05:30:09 PM
Hi,

How to install or upgrade SAIL when zaptel or dahdi modules are no more available for SME kernel ?

Now, there is even no more explanation on the admin's guide on how to install Asterisk and zaptel or dahdi modules... I tried to compile all that as adviced, but :
- Seems that some things are missing ? What about Asterisk core sounds and Asterisk moh ?
- When I try to install SAIL rpm, it's complaining about Asterisk dependency : sure, as it has not been installed with yum !!!

And there is always problems to upgrade either when you want a new version of sail for any reason, or when there is a new kernel for SME...

Sail is a very nice product, but because of this problem, it's almost unusable... Any good solution soon ? Why not a repo making install/update with yum easy ?
Title: Re: Is there a *simple* way to install/upgrade SAIL ?
Post by: SARK devs on April 30, 2010, 01:44:46 PM
OK - I'll do my best to answer your question.   First of all though,  and for avoidance of doubt; -  SAIL and Asterisk are quite separate.  We don't write Asterisk code and as far as I know, Digium don't write SAIL code.   SAIL needs Asterisk in the same way that it needs Apache, SME server and Linux.  We expect Asterisk to be there but we can only offer so much guidance/support for it.  It isn't our product.   
 
Is there an easy way to install SAIL?  yes - it is just a single rpm. We are unaware of anyone having upgrade problems with SAIL (other than bugs, which we attempt to fix as quickly as we can)   As for Asterisk dependencies in the SAIL rpm; only the 2.5.1 SAIL release has any and that is because 2.5 runs ONLY on SME8 and ONLY with Asterisk 1.4.29 or higher.  You can't run it anywhere else so it seems reasonable to us to have a dependency in there.    If you wish to install 2.5 with a hand built Asterisk then you can install it with --nodeps. 

Is there an easy way to install Asterisk on SME? If by easy, you mean "can I just run a yum update?" then the answer is no, not really.   There is an absolute dependency between Asterisk and the Kernel release because elements of Asterisk need to be loaded into the running kernel.  This has NOTHING to do with SAIL and it is the same for Asterisk wherever you run it.    The problem with Redhat/CentOS based solutions is that kernel updates happen a lot and every time you download a new kernel then you need new Asterisk driver rpm(s) or a recompile .  Unfortunately, because Asterisk is not part of EL4/EL5 you have to manage this dependency yourself and it isn't always easy or even possible, in which case you may have to resort to  a compile of the Asterisk sources. 

Kind Regards

Title: Re: Is there a *simple* way to install/upgrade SAIL ?
Post by: Teviot on April 30, 2010, 07:36:16 PM
Thanks S

That is a question that I thought about but never got to put in the forums.

Thanks for the direct but simple answer