<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Dragomir,<br>
      <br>
      When detecting a retransmission, <i>t_check_trans()</i> will exit
      the script immediately! (script execution will not even reach your
      if block)<br>
      <br>
      Best regards,<br>
      <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 12/17/2013 02:17 PM, Dragomir Haralambiev wrote:<br>
    </div>
    <blockquote
cite="mid:CADzurOJgxUBSSgQhUZJqEBGq78qxPVEoUD0dBAxZ7AAL-hkexA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hello Liviu,</div>
        <div><br>
        </div>
        <div>The <strong><em>t_check_trans() not working. </em></strong></div>
        <div>Here is example:</div>
        <div><br>
        </div>
        <div>if (is_method("INVITE"))&nbsp;{<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( t_check_trans() ) {<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;xlog("L_ERR",&nbsp;"This INVITE is already received");<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>
          &nbsp;&nbsp;&nbsp; &nbsp;}</div>
        <div>........</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/12/16 Liviu Chircu <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hello Dragomir,<br>
                <br>
                You can quietly absorb retransmissions with <b><i>t_check_trans()</i></b>.<br>
                <br>
                <a moz-do-not-send="true"
                  href="http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294871"
                  target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294871</a><br>
                <br>
                Best regards,<br>
                <pre cols="72">Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                <div>
                  <div class="h5"> On 12/16/2013 01:59 PM, Dragomir
                    Haralambiev wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>Hello,</div>
                      <div><br>
                      </div>
                      <div>Opensisp received duplicate INVITE from
                        users. ( instead of one Opensips recieves three
                        identical INVITE).<br>
                        <br>
                        How to setup Opnesips to ignore <span>unnecessary&nbsp;INVITEs?</span></div>
                      <div><span></span><br>
                      </div>
                      <div><span>Regards,</span></div>
                      <div><span>PlayMen</span>&nbsp;</div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>