[Devel] new textops functions

S G skg1010 at hotmail.com
Tue Feb 21 20:20:57 CET 2006


Thanks, Daniel. This will definately help in rewrting SDP's. Question, i was 
previously trying to use the 1.0 subst to alter the message body. Would this 
not have worked? Also is content length updated automatically in the new 
body functions?

Thanks,
Sumeet

>From: Daniel-Constantin Mierla <daniel at voice-system.ro>
>Reply-To: daniel at voice-system.ro
>To: devel <devel at openser.org>, users <users at openser.org>
>Subject: [Devel] new textops functions
>Date: Tue, 21 Feb 2006 12:40:56 +0200
>
>Hello,
>
>the development version of textops module has a new set of functions that 
>work on the body of the SIP messages.
>
>- search_body() - search a regular expression within the message's body
>- search_append_body() - search a regular expression within the message's 
>body and append a text after it
>- replace_body() - replace a regular expression match with a text
>- replace_body_all() - replace all regular expression matches with a text
>- subst_body() - sed/perl like subst operation over the message's body
>
>More details about these functions at:
>http://openser.org/docs/modules/1.1.x/textops.html
>
>Cheers,
>Daniel
>
>
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the Devel mailing list