THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Nuno Miguel Reis (nmreis)
Attached to Project - sip-router Summary - kamailio -c complains about PKG_MEM size -M parameter Task Type - Bug Report Category - Core Status - Unconfirmed Assigned To - Operating System - Linux Severity - Low Priority - Normal Reported Version - 4.1 Due in Version - Undecided Due Date - Undecided Details - $ kamailio -c <code> loading modules under /usr/local/lib/kamailio/modules_k/:/usr/lib64/kamailio/modules/ 0(6030) : <core> [cfg.lex:1390]: addstr(): ERROR:lex:addstr: memory allocation error 0(6030) : <core> [cfg.lex:1392]: addstr(): ERROR:lex:addstr: try to increase pkg size with -M parameter </code>
throws an error back at you if the memory needed to process kamailio config (PKG_MEM size) is over the default limit. This can lead people into thinking something is wrong with their config files where nothing is actually wrong. This is even worse when people use an RPM based kamailio (like me) with a proper /etc/sysconfig/kamailio file in place, because the kamailio.init verifies the config file with 'kamailio -c' upon startup before considering the defaults under '/etc/sysconfig/kamailio'. My opinion is that kamailio should consider the defaults under /etc/sysconfig/kamailio when they actually exist.
For now a proper workaround for this is disabling the kamailio config checkup in kamailio.init file on rpm based systems. Any other ideas to make this better?
More information can be found at the following URL: https://sip-router.org/tracker/index.php?do=details&task_id=481
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.