<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,<br>
</p>
<div class="moz-cite-prefix">On 12.05.21 18:01, Marrold wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAC-Lcd_cOzLSiXC+uDpLZAKjUqa+XewV+kfKx55s-O9uR3YOwA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi All,<br>
<br>
I've performed some crude troubleshooting and managed to
replicate the issue with the Debian packages and standard <a
href="https://kamailio.org/docs/tutorials/devel/kamailio-install-guide-deb/"
moz-do-not-send="true">installation</a> with example
configuration, the only changes to kamailio.cfg are:
<div><br>
</div>
<div><font face="monospace">#!define WITH_MYSQL<br>
#!define WITH_PRESENCE<br>
<br>
modparam("presence", "local_log_facility", "LOG_LOCAL3")</font><br>
<div><br>
When the "local_log_facility" parameter is defined as per
the <a
href="https://kamailio.org/docs/modules/5.4.x/modules/presence.html#presence.p.local_log_facility"
moz-do-not-send="true">documentation</a>, Kamailio will
fail to start with the following error:<br>
<br>
<font face="monospace">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)<br>
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<br>
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<br>
</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="arial, sans-serif">If I set it as the
following, Kamailio starts up without error:</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="monospace">modparam("presence",
"local_log_facility", "3")</font><font face="arial,
sans-serif"><br>
</font></div>
</div>
</div>
</blockquote>
<p><font face="arial, sans-serif">can you try with the patch from
the next commit?</font></p>
<p><font face="arial, sans-serif"> *
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/commit/5f4662a95a97d5224bf03745a9a354a41925706c">https://github.com/kamailio/kamailio/commit/5f4662a95a97d5224bf03745a9a354a41925706c</a></font></p>
<font face="arial, sans-serif">Cheers,<br>
Daniel</font><br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</body>
</html>