[sr-dev] git:5.2:e0f95f60: tcpops: Fix the example documentation for tcp_get_conid

Henning Westerholt hw at skalatan.de
Tue Jul 16 10:32:29 CEST 2019


Module: kamailio
Branch: 5.2
Commit: e0f95f60ae08b583f52f1aa3aee72ef57c85e139
URL: https://github.com/kamailio/kamailio/commit/e0f95f60ae08b583f52f1aa3aee72ef57c85e139

Author: Niall McAndrew <34754073+niallmcandrew at users.noreply.github.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-07-16T10:31:10+02:00

tcpops: Fix the example documentation for tcp_get_conid

(cherry picked from commit e094407297e89e574f10347ce720bd8475537970)

---

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

---

Diff:  https://github.com/kamailio/kamailio/commit/e0f95f60ae08b583f52f1aa3aee72ef57c85e139.diff
Patch: https://github.com/kamailio/kamailio/commit/e0f95f60ae08b583f52f1aa3aee72ef57c85e139.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