<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I'd suggest opening a ticket at <a class="moz-txt-link-freetext" href="https://issues.asterisk.org">https://issues.asterisk.org</a>,
      include full debug logs and minimal test case for reproducing the
      issue. See
      <a class="moz-txt-link-freetext" href="https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information">https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information</a>
      for details about what to post on the new ticket.<br>
    </p>
    <p>Just to ask have you tested chan_pjsip?  Not saying this issue
      shouldn't be fixed but the chan_sip doxygen and sample sip.conf
      state that chan_sip TCP/TLS support is experimental.  Given the
      support status of chan_sip combined with the declared state of the
      SIP over TCP feature I would not use it (but that's just my
      choice, not trying to tell you what to do).<br>
    </p>
    <p>One concern is if you are using TCP to communicate with an
      external service provider it's possible this could inflate
      billing.  When does the provider recognize the call as ending if
      you don't send a BYE?  Probably not a big issue when the remote
      side hangs up too but you can't always count on that.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 01/19/2018 04:03 PM, Chris Jones
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5B993DF7-50FB-4088-BE38-E603B6963EE2@rezenent.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Yu Mincho";
        panose-1:2 2 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@Yu Mincho";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><a name="_MailOriginalBody"
            moz-do-not-send="true"><span style="font-size:11.0pt">Hello
              all,</span><o:p></o:p></a></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt">Can I get a little help to
              understand why I am receiving this error? From a developer
              perspective, what Asterisk conditions would cause this
              error to trigger?
            </span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt"> </span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt">At exactly 120 seconds after an
              ongoing call is setup, this pops up in the console with
              heavy debugging enabled:</span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt"> </span><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:.5in"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt">DEBUG[30015]: iostream.c:157
              iostream_read: TLS clean shutdown alert reading data</span><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:.5in"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt">DEBUG[30015]: chan_sip.c:2905
              sip_tcptls_read: SIP TCP/TLS server has shut down</span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt"> </span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt">It doesn’t appear to have a
              negative effect on the ongoing call; however, it appears
              to be keeping Asterisk from sending a BYE message to the
              SIP provider at the conclusion of the call. </span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt"> </span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt">I have lots and lots of more
              details if you ask; however, I just need a nudge in the
              right direction. v15.1.3, though I have used a version in
              13 and 14 train and had the same problem.</span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt"> </span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt">Cheers,</span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt">Chris</span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt"> <o:p></o:p></span></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt"><o:p> </o:p></span></span></p>
        <p class="MsoNormal"><span
            style="mso-bookmark:_MailOriginalBody"><span
              style="font-size:11.0pt"> </span><o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>