<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Indeed, I understood it is about resuming the invite after a
      while.</p>
    <p>Just as a side note, in case is needed, you can enable execution
      of an event_route for replies of requests sent with
      uac_req_send(), including in case of transmission timeout.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 05/09/16 21:41, José Seabra wrote:<br>
    </div>
    <blockquote
cite="mid:CAEVZRWu7-_n5YYhby0TL9XZJhUC=qoLKTDxj70z1m26qoLh7EQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">I understood you now, I have to set the t_fr_time
        before suspend the INVITE transaction.
        <div><br>
        </div>
        <div>Thank you for your support.</div>
        <div>Cheers</div>
        <div>José</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-09-05 13:25 GMT+01:00 José Seabra
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.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 Daniel,
              <div>I already have the failure_route enabled for the
                SUBSCRIBE msg and the function  t_set_fr(0,3000) is set
                before send it for network, but when Kamailio receives
                an 200 OK related  to SUBSCRIBE it never enters on the
                failure route if not receive the NOTIFY.<br>
              </div>
              <div><br>
              </div>
              <div>Is there missing some configuration to this work?</div>
              <div><br>
              </div>
              <div>Thank you for you help</div>
              <div><br>
              </div>
              <div>Regards</div>
              <div>José</div>
            </div>
            <div class="gmail_extra">
              <div>
                <div class="h5"><br>
                  <div class="gmail_quote">2016-09-05 8:21 GMT+01:00
                    Daniel-Constantin Mierla <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
                      <span><br>
                        <br>
                        On 03/09/16 02:47, José Seabra wrote:<br>
                        > Hello,<br>
                        > I have the following scenario:<br>
                        > Kamailio is  suspending an INVITE then
                        generates a SUBSCRIBE msg to an<br>
                        > external server with UAC module, and only
                        resume the suspended INVITE<br>
                        > when receives an NOTIFY(this NOTIFY
                        "belongs" to the SUBSCRIBE dialog)<br>
                        > from the external server.<br>
                        ><br>
                        > The issue is that sometimes kamailio
                        doesn't receive a NOTIFY and the<br>
                        > transaction is not resumed, any one have an
                        idea how can i implement a<br>
                        > solution to resume the suspended invite
                        after x seconds without<br>
                        > receiving NOTIFY msg?<br>
                      </span>you can enable a failure_route for the
                      transaction and it will be<br>
                      execute after the transaction timeout (you can set
                      it with t_set_fr() to<br>
                      a custom value than the default for the other
                      transactions).<br>
                      <br>
                      Cheers,<br>
                      Daniel<br>
                      <span><font color="#888888"><br>
                          --<br>
                          Daniel-Constantin Mierla<br>
                          <a moz-do-not-send="true"
                            href="http://www.asipto.com"
                            rel="noreferrer" target="_blank">http://www.asipto.com</a>
                          - <a moz-do-not-send="true"
                            href="http://www.kamailio.org"
                            rel="noreferrer" target="_blank">http://www.kamailio.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://twitter.com/#%21/miconda"
                            rel="noreferrer" target="_blank">http://twitter.com/#!/miconda</a>
                          - <a moz-do-not-send="true"
                            href="http://www.linkedin.com/in/miconda"
                            rel="noreferrer" target="_blank">http://www.linkedin.com/in/mic<wbr>onda</a><br>
                          <br>
                          <br>
                          ______________________________<wbr>_________________<br>
                          SIP Express Router (SER) and Kamailio
                          (OpenSER) - sr-users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:sr-users@lists.sip-router.org"
                            target="_blank">sr-users@lists.sip-router.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                            rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
                        </font></span></blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <div><br>
                  </div>
                </div>
              </div>
              <span class="HOEnZb"><font color="#888888">-- <br>
                  <div data-smartmail="gmail_signature">Cumprimentos
                    <div>José Seabra</div>
                  </div>
                </font></span></div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos
          <div>José Seabra</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://www.kamailio.org">http://www.kamailio.org</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></pre>
  </body>
</html>