[sr-dev] git:5.1:93ff80f3: textopsx: docs - fixed example for change_reply_status()
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jan 15 15:22:27 CET 2018
Module: kamailio
Branch: 5.1
Commit: 93ff80f39971589ab48ffa6a4903cae86948861f
URL: https://github.com/kamailio/kamailio/commit/93ff80f39971589ab48ffa6a4903cae86948861f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/93ff80f39971589ab48ffa6a4903cae86948861f.diff
Patch: https://github.com/kamailio/kamailio/commit/93ff80f39971589ab48ffa6a4903cae86948861f.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