<div dir="ltr">Hey Corey!<div><br></div><div>The way it works is that major versions of Asterisk (and same with other packages) are associated with specific releases of Fedora and RHEL, which means the major versions are "stuck" to those releases.</div><div><br></div><div>However, you can still build the newer version of Asterisk by pulling the spec file and sources from later Fedora versions (Fedora 23 for instance).</div><div><br></div><div>You can rebuild the RPMs supplied using fedpkg, as I've done in phase 1 of my blog post. There are other ways you can do it was well, like with mock etc.</div><div><br></div><div>(You'll need some dependencies in order to build everything).</div><div><br></div><div>If you look at my buildit.sh script, it provides the primitives for building the dependencies. I'm doing this via a local build with rpmbuild (because the script is run in the Docker container), but you could also replace this with a fedpkg mock build which would build the RPMs in the chroot for you. There might be some things that are slightly more complicated in that method, because you'd have to get the resulting dependency RPMs into the chroot (possible, it's just not super straight forward if you haven't done it before).</div><div><br></div><div>I'd probably still suggest doing it in the Docker container, simply because it's super simple to get things spun up. You can even use the local.repo file I'm providing as well. Basically everything you need to build Asterisk for your platform (Red Hat based) is in the repo linked above.</div><div><br></div><div>Note: this won't work on CentOS 6. There are some oddities with CentOS 6 in Docker that resulted in me not being able to build Asterisk in the CentOS 6 container (gcc complained about not being able to result in a binary or something).</div><div><br></div><div>Long story short, use fedpkg to build the RPMs from the Fedora repositories. Just clone the Fedora 23 version (which gets you Asterisk 13.3.2 as of now), and then build it on top of the system you want (CentOS 6 or 7 for example).</div><div><br></div><div>Thanks!</div><div>Leif.<br><br>On Thu, Nov 19, 2015 at 2:23 PM, Corey Farrell <<a href="mailto:git@cfware.com">git@cfware.com</a>> wrote:<br>><br>> Jared,<br>><br>> I just looked through the EPEL website at EPEL6 and EPEL7, only found<br>> Asterisk 1.8.  Can you point me to the spec file you are using or  an<br>> SRPM?<br>><br>> Thanks,<br>> Corey<br>><br>> On Thu, Nov 19, 2015 at 2:02 PM, Jared Smith <<a href="mailto:jaredsmith@jaredsmith.net">jaredsmith@jaredsmith.net</a>> wrote:<br>> ><br>> > On Thu, Nov 19, 2015 at 10:14 AM, Matthew Jordan <<a href="mailto:mjordan@digium.com">mjordan@digium.com</a>> wrote:<br>> >><br>> >> Would it be appropriate to summarize the current state of things as "we<br>> >> need a spec file for Asterisk"?<br>> ><br>> ><br>> ><br>> > At one point, there was an awful .spec file in the Asterisk sources...<br>> > hopefully it's not around any more.<br>> ><br>> > That being said, I just took over as the main maintainer/contact for the<br>> > Asterisk packages in Fedora/EPEL -- It's one of the most complicated spec<br>> > files in Fedora, but that obviously hasn't scared me off.<br>> ><br>> > I'd love feedback on things we can do to make those packages better, and get<br>> > a tighter feedback loop between the Asterisk development community and the<br>> > packagers in Fedora/RHEL/CentOS/etc.<br>><br><br>--<br>Leif Madsen<br>Director of Engineering, Product Development<br><a href="http://avoxi.com">http://avoxi.com</a><br> </div></div>