Module: kamailio
Branch: master
Commit: 6e1e7fe306ebf97fb27b8a1d9e4f57e139d418f2
URL:
https://github.com/kamailio/kamailio/commit/6e1e7fe306ebf97fb27b8a1d9e4f57e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/6e1e7fe306ebf97fb27b8a1d9e4f57e…
Patch:
https://github.com/kamailio/kamailio/commit/6e1e7fe306ebf97fb27b8a1d9e4f57e…
---
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;
}