Re: [OpenSIPS-Devel] [opensips] Added b64encode, b64decode, and xor string transformations (#565)

2015-07-02 Thread Liviu Chircu
Merged #565. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/565#event-346409272___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Added b64encode, b64decode, and xor string transformations (#565)

2015-07-02 Thread Liviu Chircu
Well, then that calls for a different commit! Thank you for all the work invested in this PR - time to merge this baby! --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/565#issuecomment-118022970___ Devel

Re: [OpenSIPS-Devel] [opensips] Added b64encode, b64decode, and xor string transformations (#565)

2015-07-02 Thread Jarrod Baumann
@liviuchircu Thank you so much for the view! I had added the particulars you mentioned... all great additions. I noticed none of the other string transformations report a specific error message when the value length is greater thn the buffer size (>65k) so I followed suit, but I agree precise

Re: [OpenSIPS-Devel] [opensips] Added b64encode, b64decode, and xor string transformations (#565)

2015-07-02 Thread Liviu Chircu
Really great stuff, jarrod! Mentioned a few nitty-gritty issues on the commit page. As soon as you take care of them, the code is good to go! --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/565#issuecomment-117958104

[OpenSIPS-Devel] [opensips] Added b64encode, b64decode, and xor string transformations (#565)

2015-07-01 Thread Jarrod Baumann
Here is an example of the string transformations in use: ## opensips.cfg specifics ``` modparam("cfgutils", "varset", "secret=s:90hf230fh209fh209") route { ... xlog("L_INFO", "Call-ID: $ci\n"); $var(xor) = $(ci{s.xor, $var(secret)}); xlog("L_INFO", "Call-ID XOR: $var