[sr-dev] git:master:e0944072: tcpops: Fix the example documentation for tcp_get_conid

Henning Westerholt henningw at users.noreply.github.com
Tue Jul 16 10:29:34 CEST 2019


Module: kamailio
Branch: master
Commit: e094407297e89e574f10347ce720bd8475537970
URL: https://github.com/kamailio/kamailio/commit/e094407297e89e574f10347ce720bd8475537970

Author: Niall McAndrew <34754073+niallmcandrew at users.noreply.github.com>
Committer: Henning Westerholt <henningw at users.noreply.github.com>
Date: 2019-07-16T10:29:27+02:00

tcpops: Fix the example documentation for tcp_get_conid

---

Modified: src/modules/tcpops/doc/functions.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/e094407297e89e574f10347ce720bd8475537970.diff
Patch: https://github.com/kamailio/kamailio/commit/e094407297e89e574f10347ce720bd8475537970.patch

---

diff --git a/src/modules/tcpops/doc/functions.xml b/src/modules/tcpops/doc/functions.xml
index 4f0231d28e..9c6409c4e6 100644
--- a/src/modules/tcpops/doc/functions.xml
+++ b/src/modules/tcpops/doc/functions.xml
@@ -287,7 +287,7 @@ event_route[tcp:closed] {
 			<title><function>tcp_get_conid</function> usage</title>
 			<programlisting><![CDATA[
 ...
-	if(tcp_conid_alive("127.0.0.1:5060", "$var(conid)")) {
+	if(tcp_get_conid("127.0.0.1:5060", "$var(conid)")) {
 		xlog("connection id is: $var(conid)\n");
 	}
 ...




More information about the sr-dev mailing list