[sr-dev] git:master:6e1e7fe3: textopsx: docs - fixed example for change_reply_status()

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 15 15:21:39 CET 2018


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-01-15T15:21:20+01:00

textopsx: docs - fixed example for change_reply_status()

---

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

---

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

---

diff --git a/src/modules/textopsx/doc/functions.xml b/src/modules/textopsx/doc/functions.xml
index 5412476ace..c96fb1fff9 100644
--- a/src/modules/textopsx/doc/functions.xml
+++ b/src/modules/textopsx/doc/functions.xml
@@ -76,8 +76,8 @@ if(msg_apply_changes())
 	    <title><function>change_reply_status</function> usage</title>
 	    <programlisting>
 ...
-onreply_route {
-    if (@status == "603") {
+reply_route {
+    if (status == "603") {
         change_reply_status(404, "Not Found");
         exit;
     }




More information about the sr-dev mailing list