Hello,

do you need it in a generic way, or after some specific operations like lookup("location")?

Cheers,
Daniel

On 01.11.20 16:45, Sergiu Pojoga wrote:
Hi there,

Is there a PV that exposes the outgoing TCP connection ID? $conid seems to be for received only.

$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.

The objective is to check the status of the egress TCP connection like for e.g.:
if(!tcp_conid_state(conid)) {

Thanks.
--Sergiu

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla