Module: kamailio
Branch: 5.5
Commit: 700cc0f3f419708b58a0eb8b2af3a9491c5f938d
URL:
https://github.com/kamailio/kamailio/commit/700cc0f3f419708b58a0eb8b2af3a94…
Author: Sven Uhlig <git(a)resident-uhlig.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2021-10-20T12:33:12Z
textops: fix broken example for filter_body
(cherry picked from commit f8c1cabaeadb8ee145174843ed11bbbb0c3276b0)
---
Modified: src/modules/textops/doc/textops_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/700cc0f3f419708b58a0eb8b2af3a94…
Patch:
https://github.com/kamailio/kamailio/commit/700cc0f3f419708b58a0eb8b2af3a94…
---
diff --git a/src/modules/textops/doc/textops_admin.xml
b/src/modules/textops/doc/textops_admin.xml
index 82f6d2495f..cbc2fd2970 100644
--- a/src/modules/textops/doc/textops_admin.xml
+++ b/src/modules/textops/doc/textops_admin.xml
@@ -901,7 +901,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 {