Module: kamailio
Branch: 5.1
Commit: 93ff80f39971589ab48ffa6a4903cae86948861f
URL:
https://github.com/kamailio/kamailio/commit/93ff80f39971589ab48ffa6a4903cae…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-01-15T15:22:04+01:00
textopsx: docs - fixed example for change_reply_status()
(cherry picked from commit 6e1e7fe306ebf97fb27b8a1d9e4f57e139d418f2)
---
Modified: src/modules/textopsx/doc/functions.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/93ff80f39971589ab48ffa6a4903cae…
Patch:
https://github.com/kamailio/kamailio/commit/93ff80f39971589ab48ffa6a4903cae…
---
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;
}