<div dir="ltr">Hi Daniel,<div><br></div><div>That fixed the issue, thanks as always.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 12, 2021 at 5:18 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hello,<br>
    </p>
    <div>On 12.05.21 18:01, Marrold wrote:<br>
    </div>
    <blockquote type="cite">
      
      <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/" target="_blank">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" target="_blank">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 href="https://github.com/kamailio/kamailio/commit/5f4662a95a97d5224bf03745a9a354a41925706c" target="_blank">https://github.com/kamailio/kamailio/commit/5f4662a95a97d5224bf03745a9a354a41925706c</a></font></p>
    <font face="arial, sans-serif">Cheers,<br>
      Daniel</font><br>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </div>

</blockquote></div>