<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,<br>
    </p>
    if you define an onreply_route[x] to be executed for that invite
    transaction, you can execute 'drop' instead of 'exit' and the reply
    is not forwarded.<br>
    <br>
    What is tricky is 'relay only last provisional' -- here you should
    define the rules specific for the device/your environment and decide
    when you need to drop or not -- message flags or htable can be
    options to save some states to track whether to drop or not.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 13.07.18 18:12, <a class="moz-txt-link-abbreviated" href="mailto:yu@yu-boot.ru">yu@yu-boot.ru</a> wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:1531498337.960580159@f3.my.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <p style="margin-top: 0px;" dir="ltr">Hello.</p>
      <p dir="ltr">My uplink usually gives ringback as both 183 Progress
        with SDP and 180 Ringing also with (different) SDP. One of my
        clients can't handle that behavior and it just don't plays
        ringback at all. Is it possible to relay only last provisional
        response with SDP and drop anything else 183? Any ideas plz?
        Can't figure out even a logic itself.</p>
      <p dir="ltr">Thanks.</p>
      <div id="mail-app-auto-default-signature">
        <p dir="ltr">--<br>
          sent from myMail for Android</p>
      </div>
      <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>
    <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>