<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    you can send the log to me, no problem.<br>
    <br>
    However, I realized I was asking details for the wrong pointer, send
    the output of gdb for following commands:<br>
    <br>
    frame 1<br>
    <span>p *(struct qm_frag_end*)(((char*)f) - sizeof(struct
      qm_frag_end))</span><br>
    p *f<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 4/5/13 3:50 PM, Dragos Oancea wrote:<br>
    </div>
    <blockquote
      cite="mid:1365169803.57592.YahooMailNeo@web124902.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:arial,
        helvetica, sans-serif;font-size:10pt">
        <div><span>
            <div>Hi,</div>
            <div style="color: rgb(0, 0, 0); font-size: 13px;
              font-family: arial, helvetica, sans-serif;
              background-color: transparent; font-style: normal; "><br>
            </div>
            <div style="color: rgb(0, 0, 0); font-size: 13px;
              font-family: arial, helvetica, sans-serif;
              background-color: transparent; font-style: normal; ">(gdb)
              p *(struct qm_frag_end*)(((char*)qm) - sizeof(struct
              qm_frag_end))</div>
            <div>$1 = {size = 0, prev_free = 0x0}</div>
            <div><br>
            </div>
          </span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; "><span>I also have more information (I
            found meanwhile the kamailio debug log ):</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; "><span>- &nbsp;i am using async_sleep()
            somewhere in the script&nbsp;</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; "><span>- &nbsp;it indeed crashes when it
            receives a reply from a voicemail server (the call should go
            to voicemail if the second user - callee - &nbsp;does not
            REGISTER )&nbsp;</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; "><span><br>
          </span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; "><span><br>
          </span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; "><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; ">
          <div style="background-color: transparent; ">&nbsp;0(21290) DEBUG:
            tm [t_lookup.c:1666]: DEBUG: t_lookup_ident: transaction not
            found</div>
          <div style="background-color: transparent; ">&nbsp;0(21290) ERROR:
            tm [t_suspend.c:128]: ERROR: t_continue: transaction not
            found</div>
          <div style="background-color: transparent; ">&nbsp;0(21290) ERROR:
            tmx [tmx_mod.c:567]: resuming the processing of transaction
            [44781:1223434987] failed</div>
          <div><br>
          </div>
          <div>[...]</div>
          <div><br>
          </div>
          <div>
            <div>&nbsp;0(21290) ERROR: &lt;script&gt;:
              route[REGISTER]:transaction 15704:1312607975 should
              continue 0(21290) ERROR: *** cfgtrace: c=[suspend.cfg]
              l=668 a=27 n=t_continue</div>
            <div>&nbsp;0(21290) DEBUG: tm [t_lookup.c:1657]: DEBUG:
              t_lookup_ident: transaction found</div>
            <div>&nbsp;0(21290) ERROR: *** cfgtrace: c=[suspend.cfg] l=678
              a=63 n=assign</div>
            <div><br>
            </div>
          </div>
          <div><br>
          </div>
        </div>
        <div>Daniel, let me know if I may send the log to you in
          private, it contains alot of private information.</div>
        <div><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; ">Regards,</div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; ">Dragos</div>
        <div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
          arial, helvetica, sans-serif; background-color: transparent;
          font-style: normal; "><br>
        </div>
        <div style="font-size: 10pt; font-family: arial, helvetica,
          sans-serif; ">
          <div style="font-size: 12pt; font-family: 'times new roman',
            'new york', times, serif; ">
            <div dir="ltr"> <font face="Arial" size="2">
                <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
                Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com">&lt;miconda@gmail.com&gt;</a><br>
                <b><span style="font-weight: bold;">To:</span></b>
                Dragos Oancea <a class="moz-txt-link-rfc2396E" href="mailto:droancea@yahoo.com">&lt;droancea@yahoo.com&gt;</a>; Kamailio (SER)
                - Development Mailing List
                <a class="moz-txt-link-rfc2396E" href="mailto:sr-dev@lists.sip-router.org">&lt;sr-dev@lists.sip-router.org&gt;</a> <br>
                <b><span style="font-weight: bold;">Sent:</span></b>
                Friday, April 5, 2013 2:28 PM<br>
                <b><span style="font-weight: bold;">Subject:</span></b>
                Re: [sr-dev] segfault with t_suspend() / t_continue()<br>
              </font> </div>
            <br>
            <div id="yiv681676511">
              <div> Hello,<br>
                <br>
                <div class="yiv681676511moz-cite-prefix">On 4/4/13 9:26
                  PM, Dragos Oancea wrote:<br>
                </div>
                <blockquote type="cite">
                  <div style="color: rgb(0, 0, 0); background-color:
                    rgb(255, 255, 255); font-size: 10pt; font-family:
                    arial, helvetica, sans-serif; ">
                    <div><span>Hi Daniel, &nbsp;hi Guys,</span></div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span><br>
                      </span></div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span>I
                        did not stress test it, I only had one
                        registered device (which sent the INVITE) , and
                        another one was supposed to register after some
                        event triggered by kamailio via a http query
                        (using the utils module) - that's</span></div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span>the
                        reason I parked the transaction with
                        "t_suspend()" .</span></div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span>When
                        the REGISTER for the second device comes I send
                        the INVITE to the it .( lookup() , t_relay() ) .
                        This is a scenario that works for me. I could
                        say I tested 10 times and 1 time crashed.</span></div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span>I
                        plan to stress test these days, let me know if I
                        should get some information for you while doing
                        it. <br>
                      </span></div>
                  </div>
                </blockquote>
                can you spot if there are any error messages in the
                syslog just before the crash? It can be a buffer
                overflow done on the previous packet.<br>
                <br>
                If you are doing some tests, maybe is better to
                re-compile with 'MEMDBG=1', to have details about what
                functions allocated the chunks.<br>
                <br>
                For now, try to get the following from gdb:<br>
                <br>
                p *(struct qm_frag_end*)(((char*)qm) - sizeof(struct
                qm_frag_end))<br>
                <br>
                Cheers,<br>
                Daniel<br>
                <br>
                <blockquote type="cite">
                  <div style="color: rgb(0, 0, 0); background-color:
                    rgb(255, 255, 255); font-size: 10pt; font-family:
                    arial, helvetica, sans-serif; ">
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><br>
                    </div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span><br>
                      </span></div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span>Regards,</span></div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span>Dragos</span></div>
                    <div style="color: rgb(0, 0, 0); font-size: 13px;
                      background-color: transparent; font-style: normal;
                      font-family: arial, helvetica, sans-serif; "><span><br>
                      </span></div>
                    <div><br>
                    </div>
                    <div style="font-size: 10pt; font-family: arial,
                      helvetica, sans-serif; ">
                      <div style="font-size: 12pt; font-family: 'times
                        new roman', 'new york', times, serif; ">
                        <div dir="ltr"> <font face="Arial" size="2">
                            <hr size="1"> <b><span
                                style="font-weight:bold;">From:</span></b>
                            Daniel-Constantin Mierla <a
                              moz-do-not-send="true" rel="nofollow"
                              class="yiv681676511moz-txt-link-rfc2396E"
                              ymailto="mailto:miconda@gmail.com"
                              target="_blank"
                              href="mailto:miconda@gmail.com">&lt;miconda@gmail.com&gt;</a><br>
                            <b><span style="font-weight:bold;">To:</span></b>
                            Dragos Oancea <a moz-do-not-send="true"
                              rel="nofollow"
                              class="yiv681676511moz-txt-link-rfc2396E"
                              ymailto="mailto:droancea@yahoo.com"
                              target="_blank"
                              href="mailto:droancea@yahoo.com">&lt;droancea@yahoo.com&gt;</a>;
                            Kamailio (SER) - Development Mailing List <a
                              moz-do-not-send="true" rel="nofollow"
                              class="yiv681676511moz-txt-link-rfc2396E"
ymailto="mailto:sr-dev@lists.sip-router.org" target="_blank"
                              href="mailto:sr-dev@lists.sip-router.org">&lt;sr-dev@lists.sip-router.org&gt;</a>
                            <br>
                            <b><span style="font-weight:bold;">Sent:</span></b>
                            Thursday, April 4, 2013 8:53 PM<br>
                            <b><span style="font-weight:bold;">Subject:</span></b>
                            Re: [sr-dev] segfault with t_suspend() /
                            t_continue()<br>
                          </font> </div>
                        <br>
                        <div id="yiv681676511">
                          <div> Hello,<br>
                            <br>
                            at first sight looks like a missing safety
                            check, but I may be wrong after a long day.
                            I need to look a bit deeper at it.<br>
                            <br>
                            Did you stress test it or was just casual
                            trying? You said it happened one, couldn't
                            be reproduced, right?<br>
                            <br>
                            Cheers,<br>
                            Daniel<br>
                            <br>
                            <div class="yiv681676511moz-cite-prefix">On
                              4/4/13 8:28 PM, Dragos Oancea wrote:<br>
                            </div>
                            <blockquote type="cite">
                              <div style="color: rgb(0, 0, 0);
                                background-color: rgb(255, 255, 255);
                                font-size: 10pt; font-family: arial,
                                helvetica, sans-serif; ">
                                <div><span>Hi Daniel,</span></div>
                                <div style="color: rgb(0, 0, 0);
                                  font-size: 13px; background-color:
                                  transparent; font-style: normal;
                                  font-family: arial, helvetica,
                                  sans-serif; "><span><br>
                                  </span></div>
                                <div style="color: rgb(0, 0, 0);
                                  font-size: 13px; background-color:
                                  transparent; font-style: normal;
                                  font-family: arial, helvetica,
                                  sans-serif; "><span>Here is the output
                                    of `bt full`:</span></div>
                                <div style="color: rgb(0, 0, 0);
                                  font-size: 13px; background-color:
                                  transparent; font-style: normal;
                                  font-family: arial, helvetica,
                                  sans-serif; "><span>
                                    <a class="moz-txt-link-freetext" href="http://pastebin.com/tnrWML3L">http://pastebin.com/tnrWML3L</a><br>
                                  </span></div>
                                <div style="color: rgb(0, 0, 0);
                                  font-size: 13px; background-color:
                                  transparent; font-style: normal;
                                  font-family: arial, helvetica,
                                  sans-serif; ">Let me know if I can be
                                  of any assistance further.</div>
                                <div style="color: rgb(0, 0, 0);
                                  font-size: 13px; background-color:
                                  transparent; font-style: normal;
                                  font-family: arial, helvetica,
                                  sans-serif; "><br>
                                </div>
                                <div style="color: rgb(0, 0, 0);
                                  font-size: 13px; background-color:
                                  transparent; font-style: normal;
                                  font-family: arial, helvetica,
                                  sans-serif; ">Regards,</div>
                                <div style="color: rgb(0, 0, 0);
                                  font-size: 13px; background-color:
                                  transparent; font-style: normal;
                                  font-family: arial, helvetica,
                                  sans-serif; ">Dragos</div>
                                <div><br>
                                </div>
                                <div style="font-size: 10pt;
                                  font-family: arial, helvetica,
                                  sans-serif; ">
                                  <div
                                    style="font-size:12pt;font-family:'times
                                    new roman', 'new york', times,
                                    serif;">
                                    <div dir="ltr"> <font face="Arial"
                                        size="2">
                                        <hr size="1"> <b><span
                                            style="font-weight:bold;">From:</span></b>
                                        Daniel-Constantin Mierla <a
                                          moz-do-not-send="true"
                                          rel="nofollow"
                                          class="yiv681676511moz-txt-link-rfc2396E"
ymailto="mailto:miconda@gmail.com" target="_blank"
                                          href="mailto:miconda@gmail.com">&lt;miconda@gmail.com&gt;</a><br>
                                        <b><span
                                            style="font-weight:bold;">To:</span></b>
                                        Dragos Oancea <a
                                          moz-do-not-send="true"
                                          rel="nofollow"
                                          class="yiv681676511moz-txt-link-rfc2396E"
ymailto="mailto:droancea@yahoo.com" target="_blank"
                                          href="mailto:droancea@yahoo.com">&lt;droancea@yahoo.com&gt;</a>;
                                        Kamailio (SER) - Development
                                        Mailing List <a
                                          moz-do-not-send="true"
                                          rel="nofollow"
                                          class="yiv681676511moz-txt-link-rfc2396E"
ymailto="mailto:sr-dev@lists.sip-router.org" target="_blank"
                                          href="mailto:sr-dev@lists.sip-router.org">&lt;sr-dev@lists.sip-router.org&gt;</a>
                                        <br>
                                        <b><span
                                            style="font-weight:bold;">Sent:</span></b>
                                        Thursday, April 4, 2013 7:28 PM<br>
                                        <b><span
                                            style="font-weight:bold;">Subject:</span></b>
                                        Re: [sr-dev] segfault with
                                        t_suspend() / t_continue()<br>
                                      </font> </div>
                                    <br>
                                    <div id="yiv681676511">
                                      <div> Hello,<br>
                                        <br>
                                        could be related, but the issue
                                        seems to be while processing a
                                        SIP reply, not with
                                        suspend/continue of a request.
                                        Can you send the output of 'bt
                                        full'?<br>
                                        <br>
                                        Cheers,<br>
                                        Daniel<br>
                                        <br>
                                        <div
                                          class="yiv681676511moz-cite-prefix">On

                                          4/4/13 6:56 PM, Dragos Oancea
                                          wrote:<br>
                                        </div>
                                        <blockquote type="cite">
                                          <div style="color: rgb(0, 0,
                                            0); background-color:
                                            rgb(255, 255, 255);
                                            font-size: 10pt;
                                            font-family: arial,
                                            helvetica, sans-serif; ">
                                            <div>Hello,<br>
                                            </div>
                                            <div style="font-size: 10pt;
                                              font-family: arial,
                                              helvetica, sans-serif; ">
                                              <div
                                                style="font-size:12pt;font-family:'times
                                                new roman', 'new york',
                                                times, serif;">
                                                <div id="yiv681676511">
                                                  <div>
                                                    <div style="color:
                                                      rgb(0, 0, 0);
                                                      background-color:
                                                      rgb(255, 255,
                                                      255); font-size:
                                                      10pt; font-family:
                                                      arial, helvetica,
                                                      sans-serif; ">
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span><br>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span><br>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>I
                                                          got the
                                                          following
                                                          coredump while
                                                          doing some
                                                          testing with
                                                          t_suspend()
                                                          and
                                                          t_continue()
                                                          on the first
                                                          INVITE:</span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span><br>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>
                                                          <div
                                                          style="background-color:transparent;">(gdb)



                                                          bt</div>
                                                          <div
                                                          style="background-color:transparent;">#0



                                                          &nbsp;qm_detach_free

                                                          (qm=0x7fe2dae65000,

                                                          size=16) at
                                                          mem/q_malloc.c:269</div>
                                                          <div
                                                          style="background-color:transparent;">#1



                                                          &nbsp;qm_malloc
                                                          (qm=0x7fe2dae65000,
                                                          size=16) at
                                                          mem/q_malloc.c:386</div>
                                                          <div
                                                          style="background-color:transparent;">#2



                                                          &nbsp;0x00007fe2e5e6d541
                                                          in
                                                          update_totag_set
                                                          (t=0x7fe2db0f42d0,

                                                          ok=&lt;value
                                                          optimized
                                                          out&gt;) at
                                                          t_reply.c:372</div>
                                                          <div
                                                          style="background-color:transparent;">#3



                                                          &nbsp;0x00007fe2e5e72387
                                                          in relay_reply
                                                          (t=&lt;value
                                                          optimized
                                                          out&gt;,
                                                          p_msg=&lt;value
                                                          optimized
                                                          out&gt;,
                                                          branch=2,
                                                          msg_status=200,
                                                          cancel_data=0x7fff63fdf9b0,

                                                          do_put_on_wait=1)
                                                          at
                                                          t_reply.c:1854</div>
                                                          <div
                                                          style="background-color:transparent;">#4



                                                          &nbsp;0x00007fe2e5e733e6
                                                          in
                                                          reply_received
                                                          (p_msg=0x7fe2e6a55ba0)

                                                          at
                                                          t_reply.c:2370</div>
                                                          <div
                                                          style="background-color:transparent;">#5



                                                          &nbsp;0x00000000004547f5
                                                          in
                                                          do_forward_reply
                                                          (msg=0x7fe2e6a55ba0,

                                                          mode=&lt;value
                                                          optimized
                                                          out&gt;) at
                                                          forward.c:799</div>
                                                          <div
                                                          style="background-color:transparent;">#6



                                                          &nbsp;0x000000000049a5ba
                                                          in receive_msg
                                                          (buf=&lt;value
                                                          optimized
                                                          out&gt;,
                                                          len=961,
                                                          rcv_info=0x7fff63fdfc40)
                                                          at
                                                          receive.c:270</div>
                                                          <div
                                                          style="background-color:transparent;">#7



                                                          &nbsp;0x00000000005281a6
                                                          in
                                                          udp_rcv_loop
                                                          () at
                                                          udp_server.c:544</div>
                                                          <div
                                                          style="background-color:transparent;">#8



                                                          &nbsp;0x0000000000464d3a
                                                          in main_loop
                                                          () at
                                                          main.c:1638</div>
                                                          <div
                                                          style="background-color:transparent;">#9



                                                          &nbsp;0x0000000000467a6c
                                                          in main
                                                          (argc=&lt;value
                                                          optimized
                                                          out&gt;,
                                                          argv=&lt;value
                                                          optimized
                                                          out&gt;) at
                                                          main.c:2566</div>
                                                          <div><br>
                                                          </div>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span><br>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span><br>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>I
                                                          suspend the
                                                          transaction in
                                                          one route and
                                                          then I
                                                          continue it in
                                                          another route,
                                                          similar to
                                                          below:</span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><br>
                                                      </div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>route[INVITE]<span
class="yiv681676511Apple-tab-span" style="white-space:pre;"> </span></span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span><span
class="yiv681676511Apple-tab-span" style="white-space:pre;"></span></span>#&nbsp;<span
class="yiv681676511Apple-tab-span" style="white-space:pre;"> </span>Suspend


                                                        and put to
                                                        memcache:</div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span
class="yiv681676511Apple-tab-span" style="white-space:pre;"></span><span
class="yiv681676511Apple-tab-span" style="white-space:pre;"> </span>t_suspend();</div>
                                                      <div
                                                        style="background-color:transparent;">&nbsp;&nbsp;


                                                        &nbsp; &nbsp;
                                                        &nbsp;xlog("proceesing
                                                        suspended in
                                                        transaction
                                                        [$T(id_index):$T(id_label)]\n");</div>
                                                      <div
                                                        style="background-color:transparent;">&nbsp;&nbsp;


                                                        &nbsp; &nbsp;
                                                        &nbsp;$var(transaction_index)=$T(id_index);</div>
                                                      <div
                                                        style="background-color:transparent;">&nbsp;&nbsp;


                                                        &nbsp; &nbsp;
                                                        &nbsp;$var(transaction_label)=$T(id_label);</div>
                                                      <div
                                                        style="background-color:transparent;">&nbsp;&nbsp;


                                                        &nbsp; &nbsp; &nbsp;</div>
                                                      <div
                                                        style="background-color:transparent;">&nbsp;&nbsp;


                                                        &nbsp; &nbsp;
                                                        &nbsp;$mct(wait_$tU)=
                                                        "" +
                                                        $var(transaction_index)
                                                        + ":" +
                                                        $var(transaction_label);</div>
                                                      <div
                                                        style="background-color:transparent;">&nbsp;&nbsp;


                                                        &nbsp; &nbsp;
                                                        &nbsp;$mctex(wait_$tU)
                                                        = 100;</div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; ">}</div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><br>
                                                      </div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>route[INVITE_resume]


                                                          &nbsp;<span
                                                          class="yiv681676511Apple-tab-span"
style="white-space:pre;"> </span>{</span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><br>
                                                      </div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>#
                                                          get the
                                                          transaction
                                                          index and
                                                          lable from
                                                          memcache&nbsp;</span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>&nbsp;&nbsp;

                                                          &nbsp;$avp(check) =
                                                          $mct(wait_$tU)
                                                          ; # I should
                                                          have the
                                                          transaction
                                                          index and the
                                                          transaction
                                                          label here&nbsp;</span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>
                                                          <div
                                                          style="background-color:transparent;">&nbsp;&nbsp;



                                                          &nbsp;$var(my_transaction_index)

                                                          =
                                                          &nbsp;$(avp(check){s.select,0,:});</div>
                                                          <div
                                                          style="background-color:transparent;">&nbsp;&nbsp;



                                                          &nbsp;$var(my_transaction_label)

                                                          =
                                                          &nbsp;$(avp(check){s.select,1,:});</div>
                                                          <div
                                                          style="background-color:transparent;">&nbsp;&nbsp;



                                                          &nbsp;$var(a)=
                                                          $(var(my_transaction_index){s.int});</div>
                                                          <div
                                                          style="background-color:transparent;">&nbsp;&nbsp;



                                                          &nbsp;$var(b) =
                                                          $(var(my_transaction_label){s.int});</div>
                                                          <div><br>
                                                          </div>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>
                                                          <div
                                                          style="background-color:transparent;">&nbsp;&nbsp;



                                                          &nbsp;t_continue(
                                                          "$var(a)",
                                                          &nbsp;"$var(b)" ,
                                                          "my_relay_route");</div>
                                                          <div>}</div>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>&nbsp;</span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span><br>
                                                        </span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span>route[INVITE_resume]


                                                          executes only
                                                          on an
                                                          asynchronous
                                                          event (a
                                                          certain SIP
                                                          message that
                                                          might come or
                                                          not) .&nbsp;</span></div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><span><br>
                                                        </span></div>
                                                      <div>I use
                                                        kamailio
                                                        4.0.0/Centos
                                                        Linux. I suspect
                                                        it happened when
                                                        I sent CANCEL,
                                                        but I could not
                                                        reproduce. I
                                                        still have the
                                                        core file.</div>
                                                      <div><br>
                                                      </div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; ">Regards,</div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; ">Dragos</div>
                                                      <div style="color:
                                                        rgb(0, 0, 0);
                                                        font-size: 13px;
                                                        background-color:
                                                        transparent;
                                                        font-style:
                                                        normal;
                                                        font-family:
                                                        arial,
                                                        helvetica,
                                                        sans-serif; "><br>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                          <br>
                                          <fieldset
                                            class="yiv681676511mimeAttachmentHeader"></fieldset>
                                          <br>
                                          <pre>_______________________________________________
sr-dev mailing list
<a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-abbreviated" ymailto="mailto:sr-dev@lists.sip-router.org" target="_blank" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
                                        </blockquote>
                                        <br>
                                        <pre class="yiv681676511moz-signature">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
 - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://conference.kamailio.com/">http://conference.kamailio.com</a> -</pre>
                                      </div>
                                    </div>
                                    <br>
                                    <br>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                            <br>
                            <pre class="yiv681676511moz-signature">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
 - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://conference.kamailio.com/">http://conference.kamailio.com</a> -</pre>
                          </div>
                        </div>
                        <br>
                        <br>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <br>
                <pre class="yiv681676511moz-signature">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
 - <a moz-do-not-send="true" rel="nofollow" class="yiv681676511moz-txt-link-freetext" target="_blank" href="http://conference.kamailio.com/">http://conference.kamailio.com</a> -</pre>
              </div>
            </div>
            <br>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
 - <a class="moz-txt-link-freetext" href="http://conference.kamailio.com">http://conference.kamailio.com</a> -</pre>
  </body>
</html>