<div dir="ltr"><div dir="ltr"><div dir="ltr">Thank you very much!<div><br></div><div>It turned out that problem was caused by a combination of functions that I wanted to use together. It was fixed by increasing SHM_MEMORY and PKG_MEMORY values.</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 21 трав. 2019 о 21:10 Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> пише:<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 bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>I just tested with latest master and branch 5.2, no issue
      starting with remove_hf() in onreply_route[x] or reply_route.
      Either you have not enough pkg/shm memory, or there is some other
      error ending up with those messages.</p>
    <p>Start kamailio with debug=3 and look at all log messages to see
      what happens there.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="gmail-m_-219883614388889695moz-cite-prefix">On 21.05.19 18:56, Володимир Іванець
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">Hello!
              <div><br>
              </div>
              <div>I was wondering if someone is using remove_hf in
                onreply_route and if yes on which Kamailio version? I'm
                using Kamailio v5.2.1 and as soon as I add remove_hf
                function to onreply_route Kamailio will fail to start
                with following error messages:</div>
              <div><br>
              </div>
              <div>
                <div>ERROR: <core> [core/mem/q_malloc.c:291]:
                  qm_find_free(): qm_find_free(0x7fc1dc044010, 27120);
                  Free fragment not found!</div>
                <div>ERROR: <core> [core/mem/q_malloc.c:425]:
                  qm_malloc(): qm_malloc(0x7fc1dc044010, 27120) called
                  from core: core/io_wait.c: init_io_wait(524), module:
                  core; Free fragment not found!</div>
              </div>
              <div><br>
              </div>
              <div>Thank you for any suggestions!</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_-219883614388889695mimeAttachmentHeader"></fieldset>
      <pre class="gmail-m_-219883614388889695moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-219883614388889695moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-219883614388889695moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="gmail-m_-219883614388889695moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="gmail-m_-219883614388889695moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_-219883614388889695moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_-219883614388889695moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
  </div>

</blockquote></div>