[SR-Users] outgoing TCP connection ID

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 2 18:29:01 CET 2020


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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201102/b1e6b54f/attachment.htm>


More information about the sr-users mailing list