<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 08.12.17 18:15, Andrew Chen wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEytwJ0U+Vk4YRfB5k4F3UvYhqfmx8mDuRvQCFyG4j9EL2WLZA@mail.gmail.com">
      <div dir="ltr">Hi Daniel,
        <div><br>
        </div>
        <div>Thanks for the response.  The question that's been raised
          by our engineers is how do we know the message that's put in
          the queue actually successfully been sent on the
          wire/network?  Have there been situations where it gets stuck
          in the queue and never sent out?</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    once in the queue it may get discarded if connection cannot be
    established or because of transmission timeout.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote type="cite"
cite="mid:CAEytwJ0U+Vk4YRfB5k4F3UvYhqfmx8mDuRvQCFyG4j9EL2WLZA@mail.gmail.com">
      <div dir="ltr">
        <div>Thanks.</div>
        <div>--Andy</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Dec 8, 2017 at 12:35 AM,
          Daniel-Constantin Mierla <span dir="ltr"><<a
              href="mailto:miconda@gmail.com" target="_blank"
              moz-do-not-send="true">miconda@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <span class=""><br>
              <br>
              On 08.12.17 02:23, Andrew Chen wrote:<br>
              > Hi all,<br>
              ><br>
              > So for a while now I've been working with our
              engineering team to<br>
              > troubleshoot these random events where the UPDATE
              message sent from<br>
              > the server never made it to the client side.  Here is
              the the topology:<br>
              ><br>
              > Server -(tcp)-> kamailio -(tls)-> client<br>
              ><br>
              > So looks pretty straight forward and I have logging
              messages stating<br>
              > t_relay() was successful in sending the message.<br>
              ><br>
              > The question is how do we know t_relay really
              successfully sent it? <br>
              > Does it actually monitor the physical interface as it
              goes out?<br>
              ><br>
              ><br>
            </span>t_relay() may return successful code if the message
            was put in the<br>
            writing queue. Later can be another log message if sending
            ended int a<br>
            transmission timeout. Do you have a failure_route set for
            such<br>
            t_relay()? If not, you can add one, it should be executed if
            sending fails.<br>
            <br>
            Cheers,<br>
            Daniel<br>
            <span class="HOEnZb"><font color="#888888"><br>
                --<br>
                Daniel-Constantin Mierla<br>
                <a href="http://www.twitter.com/miconda"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">www.twitter.com/miconda</a> --
                <a href="http://www.linkedin.com/in/miconda"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">www.linkedin.com/in/miconda</a><br>
                Kamailio Advanced Training - <a
                  href="http://www.asipto.com" rel="noreferrer"
                  target="_blank" moz-do-not-send="true">www.asipto.com</a><br>
                Kamailio World Conference - May 14-16, 2018 - <a
                  href="http://www.kamailioworld.com" rel="noreferrer"
                  target="_blank" moz-do-not-send="true">www.kamailioworld.com</a><br>
                <br>
              </font></span></blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div dir="ltr" style="font-size:12.8px">Andy Chen</div>
                <div dir="ltr" style="font-size:12.8px">
                  <div>Sr. Telephony Lead Engineer</div>
                  <div>415 516 5535 (M)</div>
                  <div><a href="mailto:achen@thinkingphones.com"
                      target="_blank" moz-do-not-send="true">achen@</a><a
                      href="http://fuze.com" target="_blank"
                      moz-do-not-send="true">fuze.com</a></div>
                  <div><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality
        Notice: The information contained in this e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
        may be confidential. If you are not an intended recipient, you</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are
        hereby notified that any dissemination, distribution or copying
        of this</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail
        is strictly prohibited. If you have received this e-mail in
        error,</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please
        notify the sender and permanently delete the e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
        immediately. You should not retain, copy or use this e-mail or</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any
        attachment for any purpose, nor disclose all or any part of the</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents
        to any other person. Thank you.*</span>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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 Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>