Koozali.org: home of the SME Server

smeserver-asterisk RPMS

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
smeserver-asterisk RPMS
« on: April 12, 2006, 05:20:28 PM »
Hi,

We've now done the work to split the big asterisk-SME7 rpms into three constituents;-

smeserver-asterisk (base code+small sound-library)
smeserver-zappri (zaptel and libpri drivers)
smeserver-sounds (the add-on sounds)

RPMS available here

http://mirror.contribs.org/smeserver//contribs/selintra/RPMS/

You should treat these rpms as alpha grade and you must physically remove any asterisk-SME7 rpm before install.

These rpms are sme7RC1 only.

Kind Regards
Selintra

jacobsweb

smeserver-asterisk RPMS
« Reply #1 on: April 13, 2006, 04:42:36 AM »
Does this rpm also setup CDR records in MySql and mp3 music on hold?

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
smeserver-asterisk RPMS
« Reply #2 on: April 13, 2006, 05:21:42 AM »
Hello Jacobsweb,

These are absolutely vanilla CentOS4.2 or SME7rc1 rpms which can be used by anyone to build a totally neutral asterisk system.  After install, your system will be in exactly the same state as it would be if you downloaded the asterisk source, compiled it yourself and did "make samples" (which generates a set of specimen .conf files).

The add-on modules to allow asterisk to write to mysql are included but they aren't activated.  To turn them on see the link for a full discussion.  

http://www.voip-info.org/wiki-Asterisk+cdr+mysql

MOH is enabled and the three sample asterisk mp3 songs are installed. However it is not activated .  A sample moh.conf is loaded but that is all.
In SAIL we use native, or raw, moh because in our view it is vastly superior to using mpg123 or any other third-party player, however you are free to choose how you want to do your moh with these rpms.  To tailor moh see the link

http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf

Kind Regards

Selintra

mwolff

smeserver-asterisk RPMS
« Reply #3 on: April 13, 2006, 11:32:43 PM »
if we remove the previons rpm, we lost our configuration ?

jazbokes

smeserver-asterisk RPMS
« Reply #4 on: April 13, 2006, 11:46:13 PM »
Thanks for  the RPMS

Attempt to install RPMS fails..Smeserver-sounds rpm is unable to install due to conflict with smeserver-asterisk gsm files..  

And it seems that smeserver-asterisk SRPM is corrupt.. I downloaded it twice same result..

John

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
smeserver-asterisk RPMS
« Reply #5 on: April 14, 2006, 02:04:45 AM »
Hi mwolf,

If you mean your SAIL configs then no, you won't lose them.


Hi Jazzbokes,

We will check this out at the office tomorrow.   Thanks for the heads-up.

Kind Regards

Selintra

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
smeserver-asterisk RPMS
« Reply #6 on: April 14, 2006, 12:59:20 PM »
Quote
Smeserver-sounds rpm is unable to install due to conflict with smeserver-asterisk gsm files..


Hello Jazbokes

Thanks very much for this.  There are around a dozen conflicting files between the two digium source-packs for sounds.  Since we have no idea which are correct (and they sound pretty much the same anyway), we have isolated the conflicts into a directory called "conflicts" in sounds.  This way, both will install and the user can decide which version (if any), he or she wants.  We've put up a new version of the asterisk-sounds rpm (1.2.2-2).

We'll reload the SRPM for you later today - leave it until tomorrow before you attempt another download - the release number won't change.  We don't want to re-release if it's just a minor corruption on the upload.

Thanks again for your help

Kind Regards

Selintra

zzogs

Can't find the kernel source
« Reply #7 on: April 23, 2006, 03:55:52 AM »
> ...your system will be in exactly the same state
> as it would be if you downloaded the asterisk source,
> compiled it yourself...

I know this is a totally newbie question, but I need the kernel source in order to compile asterisk and I can't seem to find the SME server source code anywhere. Where did you get it?

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
smeserver-asterisk RPMS
« Reply #8 on: April 23, 2006, 01:55:20 PM »
Quote
I need the kernel source in order to compile asterisk and I can't seem to find the SME server source code anywhere


Hello zzogs

SME Server sources are here

http://mirror.contribs.org/smeserver/releases/7/builds/rpms/SRPMS/

However, you won't find any kernel source.   SME Server 7 is a CentOS 4.2 derivative with all of the unnecessary stuff taken out. If you want kernel source then you can get it directly from CentOS.

Kind Regards

Selintra

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: smeserver-asterisk RPMS
« Reply #9 on: April 24, 2006, 03:11:01 AM »
Quote from: "selintra"

smeserver-zappri (zaptel and libpri drivers)


The SRPM for this does not contain source code - it contains binaries. Where is the actual source code?

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
smeserver-asterisk RPMS
« Reply #10 on: April 24, 2006, 07:14:37 AM »
Quote
The SRPM for this does not contain source code - it contains binaries. Where is the actual source code?


It comes from Asterisk.  Downloads available at

www.asterisk.org

Kind Regards

Selintra

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
smeserver-asterisk RPMS
« Reply #11 on: April 24, 2006, 09:31:36 PM »
Quote from: "selintra"
Quote
The SRPM for this does not contain source code - it contains binaries. Where is the actual source code?


It comes from Asterisk.  Downloads available at

www.asterisk.org


That's not really adequate. If you distribute GPL software - you must distribute the source code too (if somebody asks). And it's expected that source code for binary RPMs will be found in SRPM files.

It's conventional (expected even) that you will have an asterix src.rpm which will contain the tarball from asterisk.org, and that will be used to build one or more binary RPMs. You will then have your own source code for smeserver-asterix, and use that to produce your SME server integration.

I know that others have built asterisk RPMs from SRPMS. For example, look here:

ftp://ftp.linuxsys.com/ftp/pub/releases/CentOS4

Have you tried building on the work of others, and concentrating just on the SME server integration issues?