Hi Daniel,
That fixed the issue, thanks as always.
On Wed, May 12, 2021 at 5:18 PM Daniel-Constantin Mierla <miconda(a)gmail.com>
wrote:
Hello,
On 12.05.21 18:01, Marrold wrote:
Hi All,
I've performed some crude troubleshooting and managed to replicate the
issue with the Debian packages and standard installation
<https://kamailio.org/docs/tutorials/devel/kamailio-install-guide-deb/>
with example configuration, the only changes to kamailio.cfg are:
#!define WITH_MYSQL
#!define WITH_PRESENCE
modparam("presence", "local_log_facility", "LOG_LOCAL3")
When the "local_log_facility" parameter is defined as per the
documentation
<https://kamailio.org/docs/modules/5.4.x/modules/presence.html#presence.p.local_log_facility>,
Kamailio will fail to start with the following error:
May 12 15:48:41 kamailio /usr/sbin/kamailio[13050]: ERROR: presence
[presence.c:656]: fixup_presence(): Bad config - you can not call
'handle_publish' function (db_url not set)
May 12 15:48:41 kamailio /usr/sbin/kamailio[13050]: ERROR: <core>
[core/route.c:1166]: fix_actions(): fixing failed (code=-1) at
cfg:/etc/kamailio/kamailio.cfg:769
May 12 15:48:41 kamailio /usr/sbin/kamailio[13050]: ERROR: <core>
[core/route.c:1166]: fix_actions(): fixing failed (code=-1) at
cfg:/etc/kamailio/kamailio.cfg:775
If I set it as the following, Kamailio starts up without error:
modparam("presence", "local_log_facility", "3")
can you try with the patch from the next commit?
*
https://github.com/kamailio/kamailio/commit/5f4662a95a97d5224bf03745a9a354a…
Cheers,
Daniel
--
Daniel-Constantin Mierla --
www.asipto.comwww.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
*
https://www.asipto.com/sw/kamailio-advanced-training-online/