The module implements text based operations over the SIP message processed by Kamailio. SIP is a text based protocol and the module provides a large set of very useful functions to manipulate the message at text level, e.g., regular expression search, replace or substitutions, checks for method type, header presence, insert of new header and date, string comparisons, multi-part body operations, etc. If not stated otherwise, the regular expressions parameters for search, replace or substitute have to be in POSIX format. For PCRE regular expression matching, see the pcre or dialplan modules.
4.2. search_body(re) 4.3. search_str(text, re) 4.4. search_hf(hf, re, flags) 4.5. search_append(re, txt) 4.6. search_append_body(re, txt) 4.7. replace(re, txt) 4.8. replace_body(re, txt) 4.9. replace_hdrs(re, txt) 4.10. replace_all(re, txt) 4.11. rep
4.3. search_str(text, re) 4.4. search_hf(hf, re, flags) 4.5. search_append(re, txt) 4.6. search_append_body(re, txt) 4.7. replace(re, txt) 4.8. replace_body(re, txt) 4.9. replace_hdrs(re, txt) 4.10. replace_all(re, txt) 4.11. replace_body_all(re, txt
4.4. search_hf(hf, re, flags) 4.5. search_append(re, txt) 4.6. search_append_body(re, txt) 4.7. replace(re, txt) 4.8. replace_body(re, txt) 4.9. replace_hdrs(re, txt) 4.10. replace_all(re, txt) 4.11. replace_body_all(re, txt) 4.12. replace_body_atonc
4.5. search_append(re, txt) 4.6. search_append_body(re, txt) 4.7. replace(re, txt) 4.8. replace_body(re, txt) 4.9. replace_hdrs(re, txt) 4.10. replace_all(re, txt) 4.11. replace_body_all(re, txt) 4.12. replace_body_atonce(re, txt) 4.13. replace_str(m
4.6. search_append_body(re, txt) 4.7. replace(re, txt) 4.8. replace_body(re, txt) 4.9. replace_hdrs(re, txt) 4.10. replace_all(re, txt) 4.11. replace_body_all(re, txt) 4.12. replace_body_atonce(re, txt) 4.13. replace_str(match, repl, mode) 4.14. repl
4.7. replace(re, txt) 4.8. replace_body(re, txt) 4.9. replace_hdrs(re, txt) 4.10. replace_all(re, txt) 4.11. replace_body_all(re, txt) 4.12. replace_body_atonce(re, txt) 4.13. replace_str(match, repl, mode) 4.14. replace_body_str(match, repl, mode) 4
4.8. replace_body(re, txt) 4.9. replace_hdrs(re, txt) 4.10. replace_all(re, txt) 4.11. replace_body_all(re, txt) 4.12. replace_body_atonce(re, txt) 4.13. replace_str(match, repl, mode) 4.14. replace_body_str(match, repl, mode) 4.15. replace_hdrs_str(
4.9. replace_hdrs(re, txt) 4.10. replace_all(re, txt) 4.11. replace_body_all(re, txt) 4.12. replace_body_atonce(re, txt) 4.13. replace_str(match, repl, mode) 4.14. replace_body_str(match, repl, mode) 4.15. replace_hdrs_str(match, repl, mode) 4.16. su
4.10. replace_all(re, txt) 4.11. replace_body_all(re, txt) 4.12. replace_body_atonce(re, txt) 4.13. replace_str(match, repl, mode) 4.14. replace_body_str(match, repl, mode) 4.15. replace_hdrs_str(match, repl, mode) 4.16. subst('/re/repl/flags') 4.17.
4.11. replace_body_all(re, txt) 4.12. replace_body_atonce(re, txt) 4.13. replace_str(match, repl, mode) 4.14. replace_body_str(match, repl, mode) 4.15. replace_hdrs_str(match, repl, mode) 4.16. subst('/re/repl/flags') 4.17. subst_uri('/re/repl/flags'
4.12. replace_body_atonce(re, txt) 4.13. replace_str(match, repl, mode) 4.14. replace_body_str(match, repl, mode) 4.15. replace_hdrs_str(match, repl, mode) 4.16. subst('/re/repl/flags') 4.17. subst_uri('/re/repl/flags') 4.18. subst_user('/re/repl/fla
4.13. replace_str(match, repl, mode) 4.14. replace_body_str(match, repl, mode) 4.15. replace_hdrs_str(match, repl, mode) 4.16. subst('/re/repl/flags') 4.17. subst_uri('/re/repl/flags') 4.18. subst_user('/re/repl/flags') 4.19. subst_body('/re/repl/fla
4.14. replace_body_str(match, repl, mode) 4.15. replace_hdrs_str(match, repl, mode) 4.16. subst('/re/repl/flags') 4.17. subst_uri('/re/repl/flags') 4.18. subst_user('/re/repl/flags') 4.19. subst_body('/re/repl/flags') 4.20. subst_hf(hf, subexp, flags
4.15. replace_hdrs_str(match, repl, mode) 4.16. subst('/re/repl/flags') 4.17. subst_uri('/re/repl/flags') 4.18. subst_user('/re/repl/flags') 4.19. subst_body('/re/repl/flags') 4.20. subst_hf(hf, subexp, flags) 4.21. subst_v(itext, subexp, ovp) 4.22.
4.16. subst('/re/repl/flags') 4.17. subst_uri('/re/repl/flags') 4.18. subst_user('/re/repl/flags') 4.19. subst_body('/re/repl/flags') 4.20. subst_hf(hf, subexp, flags) 4.21. subst_v(itext, subexp, ovp) 4.22. set_body(txt, content_type) 4.23. set_body
4.17. subst_uri('/re/repl/flags') 4.18. subst_user('/re/repl/flags') 4.19. subst_body('/re/repl/flags') 4.20. subst_hf(hf, subexp, flags) 4.21. subst_v(itext, subexp, ovp) 4.22. set_body(txt, content_type) 4.23. set_body_hex(htxt, content_type) 4.24.
4.18. subst_user('/re/repl/flags') 4.19. subst_body('/re/repl/flags') 4.20. subst_hf(hf, subexp, flags) 4.21. subst_v(itext, subexp, ovp) 4.22. set_body(txt, content_type) 4.23. set_body_hex(htxt, content_type) 4.24. set_reply_body(txt, content_type)
4.19. subst_body('/re/repl/flags') 4.20. subst_hf(hf, subexp, flags) 4.21. subst_v(itext, subexp, ovp) 4.22. set_body(txt, content_type) 4.23. set_body_hex(htxt, content_type) 4.24. set_reply_body(txt, content_type) 4.25. set_reply_body_hex(txt, cont
4.20. subst_hf(hf, subexp, flags) 4.21. subst_v(itext, subexp, ovp) 4.22. set_body(txt, content_type) 4.23. set_body_hex(htxt, content_type) 4.24. set_reply_body(txt, content_type) 4.25. set_reply_body_hex(txt, content_type) 4.26. filter_body(content
4.21. subst_v(itext, subexp, ovp) 4.22. set_body(txt, content_type) 4.23. set_body_hex(htxt, content_type) 4.24. set_reply_body(txt, content_type) 4.25. set_reply_body_hex(txt, content_type) 4.26. filter_body(content_type) 4.27. append_to_reply(txt)
4.22. set_body(txt, content_type) 4.23. set_body_hex(htxt, content_type) 4.24. set_reply_body(txt, content_type) 4.25. set_reply_body_hex(txt, content_type) 4.26. filter_body(content_type) 4.27. append_to_reply(txt) 4.28. append_hf(txt[, hdr]) 4.29.
4.23. set_body_hex(htxt, content_type) 4.24. set_reply_body(txt, content_type) 4.25. set_reply_body_hex(txt, content_type) 4.26. filter_body(content_type) 4.27. append_to_reply(txt) 4.28. append_hf(txt[, hdr]) 4.29. insert_hf(txt[, hdr]) 4.30. append
4.24. set_reply_body(txt, content_type) 4.25. set_reply_body_hex(txt, content_type) 4.26. filter_body(content_type) 4.27. append_to_reply(txt) 4.28. append_hf(txt[, hdr]) 4.29. insert_hf(txt[, hdr]) 4.30. append_urihf(prefix, suffix) 4.31. is_present
4.25. set_reply_body_hex(txt, content_type) 4.26. filter_body(content_type) 4.27. append_to_reply(txt) 4.28. append_hf(txt[, hdr]) 4.29. insert_hf(txt[, hdr]) 4.30. append_urihf(prefix, suffix) 4.31. is_present_hf(hf_name) 4.32. is_present_hf_pv(hf_n
4.26. filter_body(content_type) 4.27. append_to_reply(txt) 4.28. append_hf(txt[, hdr]) 4.29. insert_hf(txt[, hdr]) 4.30. append_urihf(prefix, suffix) 4.31. is_present_hf(hf_name) 4.32. is_present_hf_pv(hf_name) 4.33. is_present_hf_re(hf_name_re) 4.34
Copyright © 2003 FhG FOKUS