<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thank you<br>
      it works as expected<br>
      <br>
      BR<br>
      Simon<br>
    </p>
    <div class="moz-cite-prefix">M S je 13.07.2023 ob 11:27 napisal:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEZrhoPx=U-Yiapj6Fwk2KdiZEF=sRZH87YxoXTzAKAXi-7hkw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">You can set DLG_timeout to 2sec for failure route
        to work, then also look for ACK in main route to set DLG_timeout
        to 3600 (for example) if the call was answered.</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Jul 13, 2023 at
          10:28 AM Simon Gajski via Users <<a
            href="mailto:users@lists.opensips.org"
            moz-do-not-send="true" class="moz-txt-link-freetext">users@lists.opensips.org</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
          <br>
          I am running opensips 2.1.1 and have a question regarding
          accessing <br>
          failure_route.<br>
          <br>
          <br>
          In case I send INVITE to some destination where I receive 3xx,
          4xx or <br>
          5xx reply, call goes to failure_route and uses next gw from
          there. <br>
          Everything fine so far.<br>
          But in some cases it hapens that opensips sends INVITE to a
          destination <br>
          from where there is no reply.<br>
          In this case opensips repeatedly sends INVITEs to that
          destination and <br>
          doesn't do failover to failure_route.<br>
          <br>
          I played so far with $DLG_timeout variable, set to 2 sec.<br>
          In this case opensips does failover to failure_route after 2
          sec, <br>
          however established call via next gw is also terminated after
          2 sec.<br>
          <br>
          <br>
          Is there another way to reach failure_route if remote end
          doesn't replay <br>
          in expected time?<br>
          <br>
          BR<br>
          Simon<br>
          <br>
          <br>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>