<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I just pushed a patch to skip handling dmq requests, as done for
      local options (keepalive) and notify -- KDMQ is something internal
      to kamailio and was not considered when filtering out.</p>
    <p>  -
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/commit/7ff8d4284f20763e8e47f9b24e4604867a242e4a">https://github.com/kamailio/kamailio/commit/7ff8d4284f20763e8e47f9b24e4604867a242e4a</a></p>
    <p>Maybe you can give it a test just to be safe. I will backport it.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 30.05.18 11:39, Enrico Bandiera
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGqwm+fjPW1nYyVWkDWEwigFOdmbmJEqOcV0d--FnAAzbHqxCA@mail.gmail.com">
      <div dir="ltr">Hi Daniel, since it was just before the KWC I
        waited some time before pinging you :) 
        <div>Any news on this issue?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Enrico.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2018-05-03 15:42 GMT+02:00 Enrico
          Bandiera <span dir="ltr"><<a
              href="mailto:enrico.bandiera@cloud.timenet.it"
              target="_blank" moz-do-not-send="true">enrico.bandiera@cloud.timenet.it</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi Daniel, tell me if you need more portions
              of the log:
              <div><br>
              </div>
              <div>
                <div> 0(111) DEBUG: <core>
                  [core/socket_info.c:559]: grep_sock_info(): checking
                  if host==us: 10==11 && [172.22.3.7] ==
                  [31.193.99.4]</div>
                <div> 0(111) DEBUG: <core>
                  [core/socket_info.c:566]: grep_sock_info(): checking
                  if port 5060 (advertise 0) matches port 5060</div>
                <div> 0(111) DEBUG: <core>
                  [core/socket_info.c:559]: grep_sock_info(): checking
                  if host==us: 10==10 && [172.22.3.7] ==
                  [172.22.3.7]</div>
                <div> 0(111) DEBUG: <core>
                  [core/socket_info.c:566]: grep_sock_info(): checking
                  if port 5060 (advertise 0) matches port 5060</div>
                <div> 0(111) DEBUG: tm [uac.c:426]: t_uac_prepare():
                  next_hop=<<a
                    href="http://sip:notification_peer@127.0.0.1:5060"
                    target="_blank" moz-do-not-send="true">sip:notification_<wbr>peer@127.0.0.1:5060</a>></div>
                <div> 0(111) DEBUG: tm [uac.c:152]: dlg2hash(): hashid
                  25495</div>
                <div> 0(111) DEBUG: topos [topos_mod.c:468]:
                  tps_execute_event_route(): executing
                  event_route[topos:...] (3)</div>
                <div> 0(111) ERROR: <script>: HIDING TOPOLOGY:
                  1:5060:127.0.0.1</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:604]<wbr>: parse_msg(): SIP
                  Request:</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:606]<wbr>: parse_msg(): 
                  method:  <KDMQ></div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:608]<wbr>: parse_msg(): 
                  uri:     <<a
                    href="http://sip:notification_peer@127.0.0.1:5060"
                    target="_blank" moz-do-not-send="true">sip:notification_peer@127.0.<wbr>0.1:5060</a>></div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:610]<wbr>: parse_msg(): 
                  version: <SIP/2.0></div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/parse_via.c:1303]<wbr>:
                  parse_via_param(): Found param type 232,
                  <branch> = <z9hG4bK7936.<wbr>bcc623470000000000000000000000<wbr>00.0>;
                  state=16</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/parse_via.c:2639]<wbr>: parse_via(): end
                  of header reached, state=5</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:492]<wbr>: parse_headers():
                  Via found, flags=2</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:494]<wbr>: parse_headers():
                  this is the first via</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/parse_addr_spec.<wbr>c:864]:
                  parse_addr_spec(): end of header reached, state=10</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:171]<wbr>: get_hdr_field():
                  <To> [40]; uri=[<a
                    href="http://sip:notification_peer@127.0.0.1:5060"
                    target="_blank" moz-do-not-send="true">sip:notification_peer@<wbr>127.0.0.1:5060</a>]</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:172]<wbr>: get_hdr_field():
                  to body [<<a
                    href="http://sip:notification_peer@127.0.0.1:5060"
                    target="_blank" moz-do-not-send="true">sip:notification_peer@127.0.<wbr>0.1:5060</a>></div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:152]<wbr>: get_hdr_field():
                  cseq <CSeq>: <10> <KDMQ></div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:183]<wbr>: get_hdr_field():
                  content_length=69</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/msg_parser.c:89]: get_hdr_field(): found
                  end of header</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/parse_addr_spec.<wbr>c:185]:
                  parse_to_param(): add param: tag=<wbr>2a154ea4a528648fbfaaac82505be4<wbr>61-4e03</div>
                <div> 0(111) DEBUG: <core>
                  [core/parser/parse_addr_spec.<wbr>c:864]:
                  parse_addr_spec(): end of header reached, state=29</div>
                <div> 0(111) DEBUG: topos [tps_msg.c:934]:
                  tps_request_sent(): handling outgoing request (0, 1)</div>
                <div> 0(111) DEBUG: topos [tps_msg.c:376]:
                  tps_pack_message(): compacted headers - x_via1:
                  [SIP/2.0/UDP 172.22.3.7;branch=z9hG4bK7936.<wbr>bcc623470000000000000000000000<wbr>00.0](76)
                  - x_via2: [](0) - x_vbranch1: [z9hG4bK7936.<wbr>bcc623470000000000000000000000<wbr>00.0](46)</div>
                <div> 0(111) DEBUG: topos [tps_msg.c:485]:
                  tps_pack_message(): compacted headers - a_rr: [](0) -
                  b_rr: [](0) - s_rr: [](0)</div>
                <div> 0(111) DEBUG: topos [tps_msg.c:490]:
                  tps_pack_message(): compacted headers - as_contact:
                  [](0) - bs_contact: [](0)</div>
                <div> 0(111) DEBUG: topos [tps_storage.c:124]:
                  tps_storage_lock_get(): tps lock get: 120</div>
                <div> 0(111) DEBUG: <core> [sruid.c:182]:
                  sruid_next(): new sruid is [tpsh-5aeb10fb-6f-1] (1 /
                  18)</div>
                <div> 0(111) WARNING: topos [tps_storage.c:400]:
                  tps_storage_record(): no local address - do record
                  routing for all initial requests</div>
                <div> 0(111) ERROR: topos [tps_storage.c:480]:
                  tps_db_insert_dialog(): No database handle -
                  misconfiguration?</div>
                <div> 0(111) ERROR: topos [tps_storage.c:412]:
                  tps_storage_record(): failed to store</div>
                <div> 0(111) DEBUG: topos [tps_storage.c:136]:
                  tps_storage_lock_release(): tps lock release: 120</div>
                <div> 0(111) DEBUG: tm [uac.c:645]:
                  send_prepared_request_impl(): uac: 0x7f88fdc0b468 
                  branch: 0  to <a href="http://127.0.0.1:5060"
                    target="_blank" moz-do-not-send="true">127.0.0.1:5060</a></div>
                <div> 0(111) DEBUG: tm [../../core/onsend.h:69]:
                  run_onsend(): required parameters are not available -
                  ignoring</div>
                <div> 0(111) DEBUG: dmq [dmq_funcs.c:165]:
                  bcast_dmq_message(): skipping node sip:<a
                    href="http://172.22.3.7:5060" target="_blank"
                    moz-do-not-send="true">172.22.3.7:5060</a></div>
                <div> 0(111) DEBUG: <core> [core/sr_module.c:941]:
                  init_mod_child(): idx 0 rank 0: htable [main]</div>
                <div> 0(111) DEBUG: htable [htable.c:232]: child_init():
                  rank is (0)</div>
                <div> 0(111) DEBUG: <core> [core/sr_module.c:941]:
                  init_mod_child(): idx 0 rank 0: app_python [main]</div>
                <div> 0(111) DEBUG: <core> [core/sr_module.c:941]:
                  init_mod_child(): idx 0 rank 0: topos [main]</div>
                <div> 0(111) DEBUG: <core> [sruid.c:105]:
                  sruid_init(): root for sruid is [tpsh-5aeb10fb-6f-] (0
                  / 17)</div>
                <div> 0(111) DEBUG: <core> [main.c:1751]:
                  main_loop(): Expect maximum 2266  open fds</div>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>Thanks,</div>
              <div>Enrico.</div>
              <div><br>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2018-05-03 15:33 GMT+02:00
                    Daniel-Constantin Mierla <span dir="ltr"><<a
                        href="mailto:miconda@gmail.com" target="_blank"
                        moz-do-not-send="true">miconda@gmail.com</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div text="#000000" bgcolor="#FFFFFF">
                        <p>Can you run with higher debug level (e.g.,
                          add -ddd), then reproduce and send here all
                          DEBUG and the rest of log messages printed by
                          the same PID showing this error?<br>
                        </p>
                        The main attendant doesn't handle sip traffic in
                        fork=yes, but -DD is telling not to daemonize
                        the main attendant, so I need to see what that
                        process does before throwing the error messages.<br>
                        <br>
                        Cheers,<br>
                        Daniel
                        <div>
                          <div class="m_3960228526694433621h5"><br>
                            <br>
                            <div
                              class="m_3960228526694433621m_4361665563248546873moz-cite-prefix">On
                              03.05.18 13:45, Enrico Bandiera wrote:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="ltr">kamailio -f
                                $PATH_KAMAILIO_CFG -DD -E -e<br>
                                <div><br>
                                </div>
                                <div>Thanks,</div>
                                <div>Enrico.</div>
                              </div>
                              <div class="gmail_extra"><br>
                                <div class="gmail_quote">2018-05-03
                                  12:52 GMT+02:00 Daniel-Constantin
                                  Mierla <span dir="ltr"><<a
                                      href="mailto:miconda@gmail.com"
                                      target="_blank"
                                      moz-do-not-send="true">miconda@gmail.com</a>></span>:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div text="#000000"
                                      bgcolor="#FFFFFF">
                                      <p>Hello,</p>
                                      <p>how do you start kamailio, or
                                        better, said what are the
                                        command line parameters? <br>
                                      </p>
                                      Cheers,<br>
                                      Daniel
                                      <div>
                                        <div
                                          class="m_3960228526694433621m_4361665563248546873h5"><br>
                                          <br>
                                          <div
class="m_3960228526694433621m_4361665563248546873m_4814824759837471889moz-cite-prefix">On
                                            03.05.18 12:26, Enrico
                                            Bandiera wrote:<br>
                                          </div>
                                          <blockquote type="cite">
                                            <div dir="ltr">Hi Daniel, is
                                              kamcmd ps ok for this?
                                              <div><br>
                                              </div>
                                              <div>
                                                <div> 0(116) ERROR:
                                                  topos
                                                  [tps_storage.c:480]:
                                                  tps_db_insert_dialog():
                                                  No database handle -
                                                  misconfiguration?</div>
                                                <div> 0(116) ERROR:
                                                  topos
                                                  [tps_storage.c:412]:
                                                  tps_storage_record():
                                                  failed to store</div>
                                              </div>
                                              <div><br>
                                              </div>
                                              <div>
                                                <div>root@proxy-bbd996f48-mjzr4:/#
                                                  kamcmd ps</div>
                                                <div>116<span style="white-space:pre-wrap">       </span>main
                                                  process - attendant</div>
                                              </div>
                                              <div><br>
                                              </div>
                                              <div>Thanks,</div>
                                              <div>Enrico.</div>
                                              <div><br>
                                              </div>
                                            </div>
                                            <div class="gmail_extra"><br>
                                              <div class="gmail_quote">2018-05-03
                                                11:48 GMT+02:00
                                                Daniel-Constantin Mierla
                                                <span dir="ltr"><<a
                                                    href="mailto:miconda@gmail.com"
                                                    target="_blank"
                                                    moz-do-not-send="true">miconda@gmail.com</a>></span>:<br>
                                                <blockquote
                                                  class="gmail_quote"
                                                  style="margin:0 0 0
                                                  .8ex;border-left:1px
                                                  #ccc
                                                  solid;padding-left:1ex">
                                                  <div text="#000000"
                                                    bgcolor="#FFFFFF">
                                                    <p>Hello,</p>
                                                    <p>can you get the
                                                      output for</p>
                                                    <p>kamctl ps</p>
                                                    <p>and see the
                                                      description for
                                                      process with pid
                                                      94?</p>
                                                    <p>I assume you run
                                                      it in docker,
                                                      given low pid
                                                      value shown in the
                                                      log message...</p>
                                                    <p>Cheers,<br>
                                                      Daniel<br>
                                                    </p>
                                                    <div>
                                                      <div
class="m_3960228526694433621m_4361665563248546873m_4814824759837471889h5">
                                                        <br>
                                                        <div
class="m_3960228526694433621m_4361665563248546873m_4814824759837471889m_-8690760760794185594moz-cite-prefix">On
                                                          03.05.18
                                                          10:42, Enrico
                                                          Bandiera
                                                          wrote:<br>
                                                        </div>
                                                      </div>
                                                    </div>
                                                    <blockquote
                                                      type="cite">
                                                      <div>
                                                        <div
class="m_3960228526694433621m_4361665563248546873m_4814824759837471889h5">
                                                          <div dir="ltr">Hi,
                                                          I'm trying to
                                                          use the TOPOS
                                                          module to
                                                          solve some MTU
                                                          issues we have
                                                          (we have
                                                          multiple
                                                          kamailio
                                                          servers in our
                                                          architecture
                                                          and route/via
                                                          headers are
                                                          becoming a
                                                          problem)
                                                          <div><br>
                                                          </div>
                                                          <div>The
                                                          module seems
                                                          to work but
                                                          I'm getting
                                                          these errors
                                                          on the log:</div>
                                                          <div><br>
                                                          </div>
                                                          <div>
                                                          <div> 0(94)
                                                          ERROR: topos
                                                          [tps_storage.c:480]:
tps_db_insert_dialog(): No database handle - misconfiguration?</div>
                                                          <div> 0(94)
                                                          ERROR: topos
                                                          [tps_storage.c:412]:
tps_storage_record(): failed to store</div>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>I get
                                                          these errors
                                                          for some time
                                                          after running
                                                          kamailio and
                                                          then they stop
                                                          appearing.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Data is
                                                          inserted on
                                                          topos_d and
                                                          topos_t on the
                                                          db, so I'm not
                                                          sure what the
                                                          error is
                                                          referring to.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Any idea?</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Thanks,</div>
                                                          <div>Enrico.</div>
                                                          </div>
                                                          <br>
                                                          <fieldset
class="m_3960228526694433621m_4361665563248546873m_4814824759837471889m_-8690760760794185594mimeAttachmentHeader"></fieldset>
                                                          <br>
                                                        </div>
                                                      </div>
                                                      <pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_3960228526694433621m_4361665563248546873m_4814824759837471889m_-8690760760794185594moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_3960228526694433621m_4361665563248546873m_4814824759837471889m_-8690760760794185594moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><span class="m_3960228526694433621m_4361665563248546873m_4814824759837471889HOEnZb"><font color="#888888">
</font></span></pre>
                                                      <span
class="m_3960228526694433621m_4361665563248546873m_4814824759837471889HOEnZb"><font
color="#888888"> </font></span></blockquote>
                                                    <span
class="m_3960228526694433621m_4361665563248546873m_4814824759837471889HOEnZb"><font
                                                        color="#888888">
                                                        <br>
                                                        <pre class="m_3960228526694433621m_4361665563248546873m_4814824759837471889m_-8690760760794185594moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_3960228526694433621m_4361665563248546873m_4814824759837471889m_-8690760760794185594moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_3960228526694433621m_4361665563248546873m_4814824759837471889m_-8690760760794185594moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_3960228526694433621m_4361665563248546873m_4814824759837471889m_-8690760760794185594moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                                                      </font></span></div>
                                                </blockquote>
                                              </div>
                                              <br>
                                            </div>
                                          </blockquote>
                                          <br>
                                          <pre class="m_3960228526694433621m_4361665563248546873m_4814824759837471889moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_3960228526694433621m_4361665563248546873m_4814824759837471889moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_3960228526694433621m_4361665563248546873m_4814824759837471889moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_3960228526694433621m_4361665563248546873m_4814824759837471889moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                            </blockquote>
                            <br>
                            <pre class="m_3960228526694433621m_4361665563248546873moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_3960228526694433621m_4361665563248546873moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_3960228526694433621m_4361665563248546873moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_3960228526694433621m_4361665563248546873moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <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 World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>