Module: kamailio Branch: master Commit: 9b8846c31d358f76f4537e2bf4ccae481e1f2c7c URL: https://github.com/kamailio/kamailio/commit/9b8846c31d358f76f4537e2bf4ccae481e1f2c7c
Author: Kamailio Dev <[email protected]> Committer: Kamailio Dev <[email protected]> Date: 2026-01-06T13:46:09+01:00 modules: readme files regenerated - tcpops ... [skip ci] --- Modified: src/modules/tcpops/README --- Diff: https://github.com/kamailio/kamailio/commit/9b8846c31d358f76f4537e2bf4ccae481e1f2c7c.diff Patch: https://github.com/kamailio/kamailio/commit/9b8846c31d358f76f4537e2bf4ccae481e1f2c7c.patch --- diff --git a/src/modules/tcpops/README b/src/modules/tcpops/README index a39b2dcdaaf..d308bc894b3 100644 --- a/src/modules/tcpops/README +++ b/src/modules/tcpops/README @@ -26,7 +26,7 @@ Olle E. Johansson 3. Functions 3.1. tcp_conid_alive(conid) - 3.2. tcp_con_alive(hostport) + 3.2. tcp_con_alive(addr) 3.3. tcp_conid_state(conid) 3.4. tcp_keepalive_enable([conid], idle, count, interval) 3.5. tcp_keepalive_disable([conid]) @@ -73,7 +73,7 @@ Chapter 1. Admin Guide 3. Functions 3.1. tcp_conid_alive(conid) - 3.2. tcp_con_alive(hostport) + 3.2. tcp_con_alive(addr) 3.3. tcp_conid_state(conid) 3.4. tcp_keepalive_enable([conid], idle, count, interval) 3.5. tcp_keepalive_disable([conid]) @@ -149,7 +149,7 @@ end 3. Functions 3.1. tcp_conid_alive(conid) - 3.2. tcp_con_alive(hostport) + 3.2. tcp_con_alive(addr) 3.3. tcp_conid_state(conid) 3.4. tcp_keepalive_enable([conid], idle, count, interval) 3.5. tcp_keepalive_disable([conid]) @@ -182,12 +182,12 @@ end } ... -3.2. tcp_con_alive(hostport) +3.2. tcp_con_alive(addr) - Check the connection based on target host:port. + Check the connection based on target addrt. Meaning of the parameters is as follows: - * hostport - target "host:port" address, the port can be omitted + * addr - target "host:port" or SIP address. The port can be omitted (default to 5060) and the parameter can contain variables. Return values: @@ -201,6 +201,10 @@ end if(!tcp_con_alive("1.2.3.4:5060")) { xlog("connection not found\n"); } + if(!tcp_con_alive("sip:2.3.4.5:5070")) { + xlog("connection not found\n"); + } + ... 3.3. tcp_conid_state(conid) _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
