Module: kamailio
Branch: 5.3
Commit: 401c65ba3a8168af370c9a3e9c9e445eb66ebbf3
URL:
https://github.com/kamailio/kamailio/commit/401c65ba3a8168af370c9a3e9c9e445…
Author: Sven Uhlig <git(a)resident-uhlig.de>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-06T14:40:20+01:00
textops: fix broken example for filter_body
(cherry picked from commit f8c1cabaeadb8ee145174843ed11bbbb0c3276b0)
(cherry picked from commit d9c34770caa305fc6cafa18e255f3c05342305dc)
---
Modified: src/modules/textops/doc/textops_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/401c65ba3a8168af370c9a3e9c9e445…
Patch:
https://github.com/kamailio/kamailio/commit/401c65ba3a8168af370c9a3e9c9e445…
---
diff --git a/src/modules/textops/doc/textops_admin.xml
b/src/modules/textops/doc/textops_admin.xml
index 47d482aec7e..4d5a7372edb 100644
--- a/src/modules/textops/doc/textops_admin.xml
+++ b/src/modules/textops/doc/textops_admin.xml
@@ -859,7 +859,7 @@ set_reply_body("test", "text/plain");
<programlisting format="linespecific">
...
if (has_body("multipart/mixed")) {
- if (filter_body("application/sdp") {
+ if (filter_body("application/sdp")) {
remove_hf("Content-Type");
append_hf("Content-Type: application/sdp\r\n");
} else {