[SR-Users] Questions about changes between 5.0.1 and 5.0.7

Ginhoux, Patrick patrick.ginhoux at fr.unisys.com
Tue Aug 7 13:43:16 CEST 2018

Hi Sergey,


Interesting method to preserve original service. I’ll work and test that solution.

Thanks for the information.



Patrick GINHOUX 

Unisys | +33 1 46 69 52 12 | +33 6 60 32 24 74 | patrick.ginhoux at unisys.com


De : sr-users <sr-users-bounces at lists.kamailio.org> De la part de Sergey Safarov
Envoyé : mardi 7 août 2018 13:07
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] Questions about changes between 5.0.1 and 5.0.7


About mysql and etc dependences 

I goes to create drop-in for mysql and postgres module. In this case core kamailio.service will be clean




вт, 7 авг. 2018 г. в 9:52, Ginhoux, Patrick <patrick.ginhoux at fr.unisys.com <mailto:patrick.ginhoux at fr.unisys.com> >:



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).

My server runs the RHEL 7.4 distribution.


Now the upgrade is complete, I notice that that are changes not really documented:


-          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

-          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:


With the 5.0.1 level we have the “/etc/rc.d/init.d/kamailio”

With the 5.0.7 level we have now the “/usr/lib/systemd/system/kamailio.service”


So my questions/comments are :


-          Why the mod_perl module is required between 5.0.1 and 5.0.7  (question posted in the attached message) ?

-          In the previous kamailo init script, I added a condition to start MySQL before kamailio by adding this entry in the script : # Required-Start: $syslog $network $mysqld

The new script contains the After command :


Description=Kamailio (OpenSER) - the Open Source SIP Server



Should I change the After line with this : After=network.target mysql.target to have the same condition?


In all the cases, some documentation must be changed to provide more details.


Thanks in advance for the answers.





Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180807/fa4fd4cc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7876 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180807/fa4fd4cc/attachment.bin>

More information about the sr-users mailing list