<div dir="ltr"><div>In case anyone out there is working with CentOS, you might reconsider that decision: <a href="https://blog.centos.org/2020/12/future-is-centos-stream/">https://blog.centos.org/2020/12/future-is-centos-stream/</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 11 May 2020 at 23:53, George Joseph <<a href="mailto:gjoseph@digium.com">gjoseph@digium.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 3, 2020 at 6:07 PM Patrick Wakano <<a href="mailto:pwakano@gmail.com" target="_blank">pwakano@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello George,</div><div>Hope this finds you well!<br></div><div></div><div>I wonder if there has been any progress on this matter?</div></div></blockquote><div><br></div><div>Sorry, I missed this last week. We have an internal issue open to revisit CentOS 8 and it's at the top of our backlog right now so we should have something in the next few weeks.</div><div><br></div><div>Thanks for sharing your experience!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>I've been working to have Asterisk running on CentOS 8 and our jump from CentOS 6 to 8 doesn't look too bad.... The missing packages found are: gmime-devel, iksemel-devel, corosynclib-devel, libresample-devel, hoard and python-devel. Python-devel could be replaced by python2-devel or python3-devel (python36-devel), but I am not sure if there is any python incompatibility... gmime-devel, iksemel-devel and hoard seems of no use (and they were already missing for CentOS 6 too), so only corosynclib (if you are using it) and libresample may be a problem.... Does anyone knows what is the use of libresample-devel package?</div><div><br></div><div>Just to share the experience so far, to build Asterisk it is needed to install the epel-release and enable PowerTools. By ignoring the missing packages, the compilation works and we can start Asterisk. My only concern was about the libresample-devel because in the past I think its absence caused issues when loading/starting pjsip modules, but it didn't happen this time (but I am not using pjsip, I just loaded it with the sample config files)....</div><div>Following on and making Asterisk a systemd service instead of using init.d, I first checked the service file under contrib/systemd but it seems to serve a different purpose, so it could not be used. Instead a very simple one does the job. Just make sure your exec cmd does not have the '-c' option (used in safe_asterisk), because this was causing me a 100% CPU usage (related to this: <a href="https://unix.stackexchange.com/questions/191621/systemd-service-using-100-of-my-cpu-when-it-doesnt-if-i-start-it-without-syste/368037#368037" target="_blank">https://unix.stackexchange.com/questions/191621/systemd-service-using-100-of-my-cpu-when-it-doesnt-if-i-start-it-without-syste/368037#368037</a>)</div><div>Be aware that SELinux may cause permissions and access problems when running as systemd service.... It took me a whole day to figure out that under our configuration (that have included files outside the /etc/asterisk folder) the "problem" was SELinux.<br></div><div>Finally, configure firewalld to allow the SIP and RTP ports and you should be ready to go.<br></div><div>Also, we are using rpmbuild to create an Asterisk package. rpmbuild (or new red hat policies) is more strict and now complains about the python shebangs that do not have a version (files contrib/script/ref*.py -> what is this used for??). When using the DONT_OPTMIZE flag the compiler warns for every single file saying, so it is quite annoying but does not to cause issues:</div><div><span style="font-family:monospace">/usr/include/features.h:381:</span><span style="font-family:monospace">4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]</span>.<br></div><div>Anyway, these problems do not happen if you manually build with the simple configure and make commands.<br></div><div><br></div><div>Cheers,</div><div>Patrick Wakano<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 18 Oct 2019 at 11:54, Carlos Chavez <<a href="mailto:cursor@telecomab.mx" target="_blank">cursor@telecomab.mx</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p> They only problem I have found so far is while trying to
install Alembic for SQLAlchemy (for realtime configs). Those are
the only packages that I cannot get working properly. Vanilla
Asterisk works fine with the only extra package needed being
libedit-devel that is not included in any "official" repo. You
need to download the Fedora Core 29 packages to in order to
successfully compile Asterisk. That being said, I would not
recommend trying to put this in production any time soon.<br>
</p>
<div>On 10/17/2019 11:19 AM, George Joseph
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>At the current time, we do not recommend attempting to
build Asterisk on CentOS 8. Many packages Asterisk uses are
not yet available and would require building from their
sources. The Asterisk packages are also not available in the
EPEL 8 or CentOS 8 repositories yet for the same reason.</div>
<div><br>
</div>
<div>We'll update you when we think it's safe.</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr" style="font-size:12.8px"><b style="font-family:arial,helvetica,sans-serif;font-size:12.8px">George
Joseph</b><br>
</div>
<div dir="ltr">
<div style="font-size:12.8px"><font size="1" face="arial, helvetica, sans-serif">Digium - A
Sangoma Company | Software Developer | Software
Engineering</font></div>
<font size="1">445 Jan Davis Drive NW - Huntsville, AL
35806 - US</font></div>
<div dir="ltr"><font size="1">direct/fax: +1 256 428
6012</font>
<div style="font-size:12.8px"><font size="1" face="arial, helvetica, sans-serif">Check us out
at: <a href="https://digium.com/" style="color:rgb(17,85,204)" target="_blank">https://digium.com</a> · <a href="https://sangoma.com/" style="color:rgb(17,85,204)" target="_blank">https://sangoma.com</a></font></div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><img width="96" height="60"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
</blockquote>
</div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">George Joseph</span><br></div></div><div dir="ltr" style="font-size:small"></div><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">Asterisk Software Developer</span><br></div><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small">direct/fax +1 256 428 6012</span><br><div style="font-family:tahoma,sans-serif;font-size:small"><font color="#073763">Check us out at</font> <a href="http://www.sangoma.com/" style="color:rgb(17,85,204)" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br></div><div style="font-family:tahoma,sans-serif;font-size:small"><img src="cid:ii_k3abte590" alt="image.png" style="margin-right: 0px;" width="184" height="32"></div></div></div></div></div></div></div></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>