<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Helvetica, Arial, sans-serif">Hi Daniel,<br>
      <br>
    </font><font face="Helvetica, Arial, sans-serif">due to other
      internal patches, the line number are a bit different.<br>
      The issue seems located at the point where the patch was applied:<br>
      <br>
    </font><tt>--- a/modules/tm/t_reply.c</tt><tt><br>
    </tt><tt>+++ b/modules/tm/t_reply.c</tt><tt><br>
    </tt><tt>@@ -1965,8 +1965,10 @@ enum rps relay_reply( struct cell
      *t, st</tt><tt><br>
    </tt><tt>                        if (SEND_PR_BUFFER( uas_rb, buf,
      res_len ) >= 0){</tt><tt><br>
    </tt><tt>                                if (unlikely(!totag_retr
      && has_tran_tmcbs(t, TMCB_RESPONSE_OUT))){</tt><tt><br>
    </tt><tt>                                        LOCK_REPLIES( t );</tt><tt><br>
    </tt><tt>-                                      
      run_trans_callbacks_with_buf( TMCB_RESPONSE_OUT, uas_rb,
      t->uas.request,</tt><tt><br>
    </tt><tt>-                                                                                                
      relayed_msg, relayed_code);</tt><tt><br>
    </tt><tt>+                                      
      if(relayed_msg->REPLY_STATUS==uas_rb->activ_type) {</tt><tt><br>
    </tt><tt>+                                              
      run_trans_callbacks_with_buf( TMCB_RESPONSE_OUT, uas_rb,
      t->uas.request,</tt><tt><br>
    </tt><tt>+                                                                                        
      relayed_msg, relayed_code);</tt><tt><br>
    </tt><tt>+                                       }</tt><tt><br>
    </tt><tt>                                        UNLOCK_REPLIES( t
      );</tt><tt><br>
    </tt><tt>                                }</tt><tt><br>
    </tt><tt>                                if
      (unlikely(has_tran_tmcbs(t, TMCB_RESPONSE_SENT))){</tt><font
      face="Helvetica, Arial, sans-serif"><br>
      <br>
    </font><br>
    Thanks<br>
    Marco<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/10/2017 08:41 AM,
      Daniel-Constantin Mierla wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c281fce5-b412-8cc2-4227-e466f96c908e@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>Hello,</p>
      <p>can you run list command in gdb to see the code? Because I am
        not sure what is exactly at that line in your version with the
        patch.</p>
      <p>Cheers,<br>
        Daniel<br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 09.11.17 18:10, Marco Capetta
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:f39c0241-2019-9238-1b56-dc70f524f049@sipwise.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        <font face="Helvetica, Arial, sans-serif">I applied the patch
          but kamailio crashes with the following error:<br>
          <br>
        </font><tt>(gdb) bt full</tt><tt><br>
        </tt><tt>#0  0x00007f8af1e9b9ae in relay_reply
          (t=t@entry=0x7f8a29c05868,
          p_msg=p_msg@entry=0xffffffffffffffff, branch=branch@entry=0,
          msg_status=<optimized out>, </tt><tt><br>
        </tt><tt>    cancel_data=cancel_data@entry=0x7ffd92443570,
          do_put_on_wait=do_put_on_wait@entry=0) at t_reply.c:1968</tt><tt><br>
        </tt><tt>        relay = 0</tt><tt><br>
        </tt><tt>[...]</tt></blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <div style="line-height:16px; margin:6px 0; padding:8px 8px 8px
        8px; border-top:1px #aeb1a6 dotted; border-bottom:1px #aeb1a6
        dotted; font-family: 'Lucida Sans', Lucida Grande, Verdana,
        Arial, Sans-Serif; font-size:11px; color:#555555;"> <strong
          style="color:#333333; text-transform:uppercase;
          font-size:10px;"> Marco Capetta </strong> <br>
        Operations Engineer
        <p> <a href="http://www.sipwise.com" style="color:rgb(0, 136,
            204) !important; text-decoration:none !important;
            border-bottom:1px dotted #AAA;"> Sipwise GmbH </a> , Campus
          21/Europaring F15<br>
          AT-2345 Brunn am Gebirge </p>
        <p> Phone:  <a href="tel:+4313012044" style="color:rgb(0, 136,
            204) !important; text-decoration:none !important;
            border-bottom:1px dotted #AAA;"> +43(0)1 301 2044 </a> <br>
          Email:  <a href="mailto:mcapetta@sipwise.com"
            style="color:rgb(0, 136, 204) !important;
            text-decoration:none !important; border-bottom:1px dotted
            #AAA;"> mcapetta@sipwise.com </a> <br>
          Website:  <a href="http://www.sipwise.com"
            style="color:rgb(0, 136, 204) !important;
            text-decoration:none !important; border-bottom:1px dotted
            #AAA;"> www.sipwise.com </a> </p>
        <p>
          Particulars according Austrian Companies Code paragraph 14<br>
          "Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge<br>
          FN:305595f, Commercial Court Vienna, ATU64002206
        </p>
      </div>
    </div>
  </body>
</html>