Can we have an updated Asterisk RPM please?

onecomms
Posts: 289
Member Since:
2006-10-26

Can someone release an up to date Asterisk RPM in the repo?
We are currently on 1.4.22 and Asterisk has already released 1.4.26 last month

Problem is, I wanted to try the new Digium chan_skype module, which has just been released as a beta - but it only works with Asterisk 1.4.24 and above! :-(

--

_________________________________
Andy Thompson
1comms
http://www.1comms.co.uk
sales@1comms.co.uk



SkykingOH
Posts: 9678
Member Since:
2007-12-17
Andrew already said he is

Andrew already said he is not going to update the 2.6 train

So:

yum install kernel-dev*
yum install gcc*
yum install mysql*
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/ast...
tar -zxvf asterisk-1.4.26.tar.gz
cd asterisk-1.4.26
make clean
./configure
make menuselect
make
make install

Now you have the latest Asterisk. Repeat for Asterisk-addons (you have to do both the modules have to match. Ignore the errors about this when running the above steps).

--

Scott

aka "Skyking"



onecomms
Posts: 289
Member Since:
2006-10-26
Hmmm I was hoping not to

Hmmm I was hoping not to have to start compiling stuff!

Defeats the whole object of having an rpm repo, doesnt it? If I wanted to compile everything I would have jumped ship to PIAF!

Im surprised it has been stated that 2.6 will not get any updates!? What if there are some asterisk updates to fix bugs or security issues? That means TB users would never get them!
Theres' a lot of 2.6 users out there too - we're not all happy to go straight to 2.8, especially when there seems to be several reports of bugs in 2.8 on this forum!

--

_________________________________
Andy Thompson
1comms
http://www.1comms.co.uk
sales@1comms.co.uk



SkykingOH
Posts: 9678
Member Since:
2007-12-17
I didn't set the policy only

I didn't set the policy only repeating the news.

If someone wants to help me with the spec file I would be glad to help build current Asterisk and DAHDI RP/M's

--

Scott

aka "Skyking"



jfinstrom
Posts: 2013
Member Since:
2007-03-07
*****************************

*************************************************************
D I S C L A I M E R O F D E A T H
*************************************************************
THIS POST IS A PERSONAL POST AND IS NOT SUPPORTED ENDORSED OR
IN ANY OTHER WAY ACKNOWLEDGED BY MY EMPLOYER. USE OF ANY INFO
FOUND IN THIS POST IS AT YOUR OWN RISK. IF YOU ARE PREGNANT OR
MAY BECOME PREGNANT PLEASE CONSULT A PHYSICIAN BEFORE YOU
READ THIS POST. THE POST AUTHOR IS NOT RESPONSIBLE FOR ANY
SIDE EFFECTS INCLUDING BUT NOT LIMITED TO LOSS OF DATA, I.Q.
POINTS, BODY PARTS, OR DEATH.

**************************************************************

I will look in to making a development box with the trixbox sources and uploading the requested RPM's somewhere

I don't really want the load of a yum repo on my server so it will need to be hosted somewhere.

Since this would be a personal project and I do not have the personal resources to test all aspects of these packages
they would all be considered "Alpha" and would be a use at your own risk sorta thing.

As always donations to such a cause would be helpful in the motivation to complete in a timely manner including bribes to my wife
and the information listed in the footer of my homepage: http://dontcallmyboss.com

--



SkykingOH
Posts: 9678
Member Since:
2007-12-17
James - I may be twisted

James -

I may be twisted into hosting the repo at my data center.

I want to help with the RPM's I am looking at the Fonality RPM spec file now for Asterisk trying to figure out what I need to copy after I do the make

--

Scott

aka "Skyking"



andrew
Posts: 1472
Member Since:
2006-05-30
You can use trixbox 2.8.

You can use trixbox 2.8. That will work with chan_skype.

James, if you want to build an Asterisk RPM we can host it in our beta repo. We have a dedicated T3 :)



SkykingOH
Posts: 9678
Member Since:
2007-12-17
Maybe I am missing

Maybe I am missing something:

I tried to extract the spec file as below:

rpm2cpio asterisk-1.4.19-1.i386.rpm | cpio -iumd trixasterisk.spec

However nothing gets written. cpio says it wrote xxxx bytes

--

Scott

aka "Skyking"



jfinstrom
Posts: 2013
Member Since:
2007-03-07
Spec files are in the

Spec files are in the SRPM...

Steps involved:
1 - set up build dependencies
2 - download desired SRPMS
3 - install said SRPMS
4 - download new sources in to /usr/src/redhat/SOURCES/
5 - adjust desired spec files in /usr/src/redhat/SPECS/
6 - rpmbuild as appropriate
7 - move RPMs and SRPMs to desired host

I must do lunch will complete selected steps on return...

--



jfinstrom
Posts: 2013
Member Since:
2007-03-07
seems there is no SRPM for

seems there is no SRPM for asterisk-addons
Some complaints on the the mfcr2 patch... trying to regenerate the patch for 1.4.26

--



jfinstrom
Posts: 2013
Member Since:
2007-03-07
So I thought this would be

So I thought this would be pretty plug-n-play but it looks like I am going have to reverse engineer most of the trixbox development box to do what I need to do. This will take some time. If andrew has a script, ISO or another way I can clone their box life will be a bit easier... Otherwise this will be more of a side project than I originally thought.

Perhaps a tar of /usr/src/redhat/

--



andrew
Posts: 1472
Member Since:
2006-05-30
The asterisk addons SRPM is

The asterisk addons SRPM is in with the rest of the SRPMS.

http://yum.trixbox.org/trixbox/2.8/SRPMS/repodata/repoview/asteri...

Building Asterisk is a pain in the ass. There are tons of deps. You need to build them all in order. There is no easy way to script it that I have found. I do it all manually. It takes a few hours. There is nothing special about my build machine. It's just CentOS all the SRPMS are available in our repo.

You can see why I'm not keen to build another version of Asterisk. I am still spending all my time getting Asterisk 1.6 working.



Jos
Posts: 7
Member Since:
2009-10-15
Do you have a list?

I'm having an a$$ ache too building the RPM from SRPM (http://yum.trixbox.org/trixbox/2.8/SRPMS/asterisk16-1.6.0.10-2_tr...)

can you please explain more less how to succesfully build it back ?

thanks!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.