From a866a7590085a1f635ca92459c3917e5cded257a Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 29 Apr 2009 18:53:01 +0000 Subject: Merge str_substitution branch. This branch adds additional methods to dialplan functions, whereby the result buffers are now dynamic buffers, which can be expanded to the size of any result. No longer are variable substitutions limited to 4095 bytes of data. In addition, the common case of needing buffers much smaller than that will enable substitution to only take up the amount of memory actually needed. The existing variable substitution routines are still available, but users of those API calls should transition to using the dynamic-buffer APIs. Reviewboard: http://reviewboard.digium.com/r/174/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@191140 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_md5.c | 1 + 1 file changed, 1 insertion(+) (limited to 'funcs/func_md5.c') diff --git a/funcs/func_md5.c b/funcs/func_md5.c index 23b35489a..7c61d9f8c 100644 --- a/funcs/func_md5.c +++ b/funcs/func_md5.c @@ -64,6 +64,7 @@ static int md5(struct ast_channel *chan, const char *cmd, char *data, static struct ast_custom_function md5_function = { .name = "MD5", .read = md5, + .read_max = 33, }; static int unload_module(void) -- cgit v1.2.3