<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hello!</div><div class="gmail_default" style="font-family:tahoma,sans-serif">sorry for no reply, I've gone out for business , I'll try to replicate in the next few days and come back to you</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><br><img src="http://timenet.it/email/timenet.jpg" hspace="0" border="0" vspace="0"></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="monospace, monospace">paolo visintin</font></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="monospace, monospace">direttore tecnico</font><hr style="border-top-width:2px;min-height:1px;border-bottom-width:0px;border-bottom-style:solid;border-bottom-color:rgb(105,171,211);color:rgb(105,171,211);width:405px;margin:2px 2px 2px 0px;padding:0px;background:rgb(105,171,211)"><font face="monospace, monospace">timenet srl | <a href="http://www.timenet.it/" style="color:rgb(0,0,0);text-decoration:none" target="_blank">www.timenet.it</a> | tel <a href="tel:05711738000" value="+3905711738000" style="color:rgb(17,85,204)" target="_blank">05711738000</a></font><font face="monospace, monospace"> </font></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="monospace, monospace">assistenza tecnica: <a href="mailto:assistenza@timenet.it" style="color:rgb(0,0,0);text-decoration:none" target="_blank">assistenza@timenet.it</a></font></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="monospace, monospace">ufficio commerciale: <a href="mailto:sales@timenet.it" style="color:rgb(0,0,0);text-decoration:none" target="_blank">sales@timenet.it</a></font></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="monospace, monospace">ufficio amministrativo: <a href="mailto:contabilita@timenet.it" style="color:rgb(0,0,0);text-decoration:none" target="_blank">contabilita@timenet.it</a></font><font face="monospace, monospace"> </font></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="monospace, monospace"><a href="http://twitter.timenet.it/" style="color:rgb(0,0,0);text-decoration:none" target="_blank">twitter.timenet.it</a> | <a href="http://linkedin.timenet.it/" style="color:rgb(0,0,0);text-decoration:none" target="_blank">linkedin.timenet.it</a><br></font><a href="http://timenet.it/email/redirect.php" style="color:rgb(17,85,204)" target="_blank"><img src="http://timenet.it/email/spot.jpg" alt="" hspace="0" border="0" vspace="6"></a></div></div></div></span></div></div></div>
<br><div class="gmail_quote">2017-10-25 14:53 GMT+02:00 Charles Chance <span dir="ltr"><<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>Are you still experiencing the issue? If so, are you able to provide a backtrace?</div><div><br></div><div>Cheers,</div><div><br></div><div>Charles</div><div><div class="h5"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 October 2017 at 09:35, Charles Chance <span dir="ltr"><<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hello,<div dir="auto"><br></div><div dir="auto">Just to note, I had been looking into a similar issue before going on holiday. I believe it may be fixed but need to do some further testing today/tomorrow before committing. The backtrace would still be useful to know that your issue is the same thing.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div><div dir="auto">Charles</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_4659827899752774345h5">On 23 Oct 2017 7:35 a.m., "Daniel-Constantin Mierla" <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_4659827899752774345h5">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>can you grab and send the backtrace with gdb from corefile? The
      logs show that core was generated. While I don't use dmq that
      much, maybe it is something easy to fix.<br>
    </p>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="m_4659827899752774345m_4233208848477177053m_8596681174392742791moz-cite-prefix">On 18.10.17 22:58, : Paolo Visintin -
      Time-Net S.r.l. wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div style="font-family:tahoma,sans-serif">Hi
          Daniel, </div>
        <div style="font-family:tahoma,sans-serif">I
          have gone in deep and made more tests, the behaviour is this: </div>
        <div style="font-family:tahoma,sans-serif"><br>
        </div>
        <div style="font-family:tahoma,sans-serif">kamailio.01
          and kamailio.02 shares the same dialog database, for sync
          purpose.</div>
        <div style="font-family:tahoma,sans-serif">If
          call is handled by kamailio.01 I can see dialogs only in
          kamailio.01 (kamcmd dlg.list)</div>
        <div style="font-family:tahoma,sans-serif">If
          call is handled by kamailio.01 and, in the meantime, I restart
          kamailio.02 I can see dialogs in both!</div>
        <div style="font-family:tahoma,sans-serif"><br>
        </div>
        <div style="font-family:tahoma,sans-serif">So
          I suppose that there's a sync memory > DB and not a
          bi-directional sync. Only at startup kamailio fetch existing
          dialogs and store them in memory, right ?</div>
        <div style="font-family:tahoma,sans-serif"><br>
        </div>
        <div style="font-family:tahoma,sans-serif">I
          tried another approach now, enabled DMQ sync with: </div>
        <div style="font-family:tahoma,sans-serif">modparam("dialog",
          "enable_dmq", 1)</div>
        <div style="font-family:tahoma,sans-serif">with
          separate port dedicated for DMQ messages</div>
        <div style="font-family:tahoma,sans-serif"><br>
        </div>
        <div style="font-family:tahoma,sans-serif">Dialogs
          are synced, but when a call is hangupped kamailio crashes! </div>
        <div style="font-family:tahoma,sans-serif">4(1570)
          INFO: tmx [t_var.c:527]: pv_get_tm_reply_code(): unsupported
          route_type 64 - code set to 0</div>
        <div style="font-family:tahoma,sans-serif">22(1588)
          CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF
          on 15</div>
        <div style="font-family:tahoma,sans-serif"> 0(1549)
          ALERT: <core> [main.c:742]: handle_sigs(): child process
          1570 exited by a signal 11</div>
        <div style="font-family:tahoma,sans-serif"> 0(1549)
          ALERT: <core> [main.c:745]: handle_sigs(): core was
          generated</div>
        <div style="font-family:tahoma,sans-serif"> 0(1549)
          INFO: <core> [main.c:768]: handle_sigs(): terminating
          due to SIGCHLD</div>
        <div style="font-family:tahoma,sans-serif"> 5(1571)
          INFO: <core> [main.c:823]: sig_usr(): signal 15 received</div>
        <div style="font-family:tahoma,sans-serif">...</div>
        <div style="font-family:tahoma,sans-serif"> 1(1567)
          INFO: <core> [main.c:823]: sig_usr(): signal 15 received</div>
        <div style="font-family:tahoma,sans-serif"> 0(1549)
          CRITICAL: <core> [main.c:649]: sig_alarm_abort():
          shutdown timeout triggered, dying</div>
        <div style="font-family:tahoma,sans-serif"><br>
        </div>
        <div style="font-family:tahoma,sans-serif">My
          purpose is to share dialogs and usrloc data between kamailio
          instances (10 about) in order to manage shared dialogs.</div>
        <div style="font-family:tahoma,sans-serif"><br>
        </div>
        <div style="font-family:tahoma,sans-serif">Cheers,</div>
        <div style="font-family:tahoma,sans-serif">Paolo</div>
        <div style="font-family:tahoma,sans-serif"><br>
        </div>
        <div class="gmail_extra">
          <div>
            <div class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail_signature">
              <div dir="ltr"><span></span></div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">2017-10-18 18:06 GMT+02:00
            Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br>
            <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,<br>
                </p>
                <span class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail-"> <br>
                  <div class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail-m_5046814212459676450moz-cite-prefix">On
                    17.10.17 10:27, : Paolo Visintin - Time-Net S.r.l.
                    wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>Hi kamailio users,  I'm wondering if there's
                        something already done with shared dialog among
                        more kamailio instances, in order to manage
                        branches initalized by another kamailio
                        instance.</div>
                      <div><br>
                      </div>
                      <div>
                        <div style="font-family:tahoma,sans-serif;display:inline">​A</div>
                        ctually seems not possible (also with db mode)
                        because kamailio is looking into
                        caller/callee_sock and if it's different does
                        not manage</div>
                      <div><br>
                      </div>
                      <div>in a "standard" failover environment (master
                        / slave) with vIP and keepalived and $fs =
                        VIRTUAL_IP everything is working fine<br>
                      </div>
                      <div><br>
                      </div>
                      <div>but in a distributed environment this could
                        not happen as the relay is managed by a kamailio
                        proxy</div>
                      <div><br>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </span> I looked at the code and the dialog module just
                not sets the local socket fields if there is no match,
                but loads them from db and all should be fine, an
                existing socket will be used if there is a need to send
                BYE. What exactly you encointered? There is a warning
                message when the local socket is not matched, but it's
                about ignoring the socket field, not ignoring the dialog
                from db.<br>
                <br>
                Cheers,<br>
                Daniel<span class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail-HOEnZb"><font color="#888888"><br>
                    <pre class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail-m_5046814212459676450moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail-m_5046814212459676450moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail-m_5046814212459676450moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - <a class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail-m_5046814212459676450moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - <a class="m_4659827899752774345m_4233208848477177053m_8596681174392742791gmail-m_5046814212459676450moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
                  </font></span></div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="m_4659827899752774345m_4233208848477177053m_8596681174392742791moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_4659827899752774345m_4233208848477177053m_8596681174392742791moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_4659827899752774345m_4233208848477177053m_8596681174392742791moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - <a class="m_4659827899752774345m_4233208848477177053m_8596681174392742791moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - <a class="m_4659827899752774345m_4233208848477177053m_8596681174392742791moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
  </div>

<br></div></div>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div></div>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div></div></div><div class="HOEnZb"><div class="h5">

<br>
<div><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Sipcentric Ltd.
                Company registered in England & Wales no. 7365592.</font><span style="font-size:10pt;font-family:Helvetica,Arial,sans-serif"> </span><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Registered
                office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></div></div></div></blockquote></div><br></div>