<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.m2601762432240647178msolistparagraph, li.m2601762432240647178msolistparagraph, div.m2601762432240647178msolistparagraph
{mso-style-name:m_2601762432240647178msolistparagraph;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hi Sergey,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Thanks for the link that shows the mod_perl use.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>But I’m interested to understand why such change between the 5.0.1 and 5.0.7 level. And also why the use of mod_perl which is removed from official distro.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-top:solid #CCCCCC 1.0pt;padding:4.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-bottom:3.0pt;border:none;padding:0cm'><b><span lang=FR-BE style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#444444'>Cordialement.<o:p></o:p></span></b></p><p class=MsoNormal style='margin-bottom:3.0pt;border:none;padding:0cm'><b><span lang=FR-BE style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#444444'>Patrick GINHOUX</span></b><span lang=FR-BE style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#444444'> <b><o:p></o:p></b></span></p></div><p class=MsoNormal style='margin-bottom:3.0pt'><span lang=FR-BE style='font-size:9.0pt;font-family:"Calibri",sans-serif;color:#444444'>Unisys | +33 1 46 69 52 12 </span><span style='font-size:9.0pt;font-family:"Calibri",sans-serif;color:#444444'>| +33 6 60 32 24 74</span><span style='font-size:9.0pt;font-family:"Calibri",sans-serif;color:#444444'> </span><span style='font-size:9.0pt;font-family:"Calibri",sans-serif;color:#444444'>| patrick.ginhoux@unisys.com</span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>De :</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> sr-users <sr-users-bounces@lists.kamailio.org> <b>De la part de</b> Sergey Safarov<br><b>Envoyé :</b> mardi 7 août 2018 11:37<br><b>À :</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br><b>Objet :</b> Re: [SR-Users] Questions about changes between 5.0.1 and 5.0.7<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hello Patrick<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Please review packaging PR <a href="https://github.com/kamailio/kamailio/pull/1615">https://github.com/kamailio/kamailio/pull/1615</a><o:p></o:p></p><div><div><p class=MsoNormal>вт, 7 авг. 2018 г. в 9:52, Ginhoux, Patrick <<a href="mailto:patrick.ginhoux@fr.unisys.com">patrick.ginhoux@fr.unisys.com</a>>:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Hi,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Following a problem with the kamcmd htable.reload with Kamailio 5.0.1 (see related thread for this), I have upgraded to the 5.0.7 level (with some difficulties due to my specific environment).</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>My server runs the RHEL 7.4 distribution.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Now the upgrade is complete, I notice that that are changes not really documented:</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US>-</span><span lang=EN-US style='font-size:7.0pt'> </span><span lang=EN-US>The kamailio-perl-5.0.7-1.el7.x86_64.rpm requires to install the mod_perl module that doesn’t exist anymore in RHEL 7. It needs to be installed from the EPEL repository</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US>-</span><span lang=EN-US style='font-size:7.0pt'> </span><span lang=EN-US>The init script for kamailio has been changed from the old method to the fully compliant method for system unit for RHEL 7 for example:</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US> </span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US>With the 5.0.1 level we have the “/etc/rc.d/init.d/kamailio”</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US>With the 5.0.7 level we have now the “/usr/lib/systemd/system/kamailio.service”</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>So my questions/comments are :</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US>-</span><span lang=EN-US style='font-size:7.0pt'> </span><span lang=EN-US>Why the mod_perl module is required between 5.0.1 and 5.0.7 (question posted in the attached message) ?</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US>-</span><span lang=EN-US style='font-size:7.0pt'> </span><span lang=EN-US>In the previous kamailo init script, I added a condition to start MySQL before kamailio by adding this entry in the script : </span><span lang=EN-US style='font-family:Consolas'># Required-Start: $syslog $network $mysqld</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US>The new script contains the After command :</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph style='margin-left:70.8pt'><span lang=EN-US>[Unit]</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph style='margin-left:70.8pt'><span lang=EN-US>Description=Kamailio (OpenSER) - the Open Source SIP Server</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph style='margin-left:70.8pt'><span lang=EN-US>After=network.target</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US> </span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US>Should I change the After line with this : After=network.target mysql.target to have the same condition?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>In all the cases, some documentation must be changed to provide more details.</span><o:p></o:p></p><p class=m2601762432240647178msolistparagraph><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Thanks in advance for the answers.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><div style='border:none;border-top:solid #CCCCCC 1.0pt;padding:4.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:3.0pt'><span lang=FR-BE style='color:#444444'>Cordialement.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:3.0pt'><b><span lang=FR-BE style='color:#444444'>Patrick GINHOUX</span></b><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p></div></div><p class=MsoNormal>_______________________________________________<br>Kamailio (SER) - Users Mailing List<br><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p></blockquote></div></div></div></body></html>