[sr-dev] git:master: textops(k): new function - msg_apply_changes()

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 10 16:26:03 CEST 2009


Module: sip-router
Branch: master
Commit: 0e24d9be231fc54e13fd069ae28cc050cc708664
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0e24d9be231fc54e13fd069ae28cc050cc708664

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Sep 10 16:22:08 2009 +0200

textops(k): new function - msg_apply_changes()

- apply changes done to SIP request content (e.g., via subst(),
  append_hf(), remove_hf(), etc.)
- after using this function, the content of SIP message buffer is
  updated and the initially recevied content is lost
- function can be used in request route blocks
- be careful when used since:
	- it changes the way you're used so far
	- not much tested with various modules

---

 modules_k/textops/README                |  506 +++++++++++++++++++------------
 modules_k/textops/doc/textops_admin.xml |   32 ++
 modules_k/textops/textops.c             |   83 +++++-
 3 files changed, 420 insertions(+), 201 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=0e24d9be231fc54e13fd069ae28cc050cc708664



More information about the sr-dev mailing list