<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>do you need it in a generic way, or after some specific
      operations like lookup("location")?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 01.11.20 16:45, Sergiu Pojoga wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJZsGCkHXtY+o+NrR_a7xutPDFa26FjPw==vE6OyTx15-HZYCw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi there,<br>
        <div><br>
        </div>
        <div>Is there a PV that exposes the outgoing TCP connection ID?
          $conid seems to be for received only.</div>
        <div><br>
        </div>
        <div><i>$conid - The TCP connection ID of the connection the
            current message arrived on for TCP, TLS, WS, and WSS. Set to
            $null for SCTP and UDP.</i><br>
        </div>
        <div><br>
        </div>
        <div>The objective is to check the status of the egress TCP
          connection like for e.g.:</div>
        <div>
          <div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(86,156,214)">if</span>(!tcp_conid_state(<span style="color:rgb(206,145,120)">conid</span>)) {</div></div>
        </div>
        <div><br>
        </div>
        <div>Thanks.</div>
        <div>--Sergiu</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>