Merge str_substitution branch.
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 29 Apr 2009 18:53:01 +0000 (18:53 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 29 Apr 2009 18:53:01 +0000 (18:53 +0000)
commita866a7590085a1f635ca92459c3917e5cded257a
tree972bdf8f96c18f1b9667469307af69385f4a75f3
parent0ea83eab4811c8519e4e04bf4c59b1744cf1efc9
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
38 files changed:
apps/app_exec.c
apps/app_macro.c
apps/app_minivm.c
apps/app_voicemail.c
cdr/cdr_custom.c
configure
funcs/func_aes.c
funcs/func_base64.c
funcs/func_blacklist.c
funcs/func_callerid.c
funcs/func_curl.c
funcs/func_cut.c
funcs/func_db.c
funcs/func_dialplan.c
funcs/func_env.c
funcs/func_extstate.c
funcs/func_groupcount.c
funcs/func_lock.c
funcs/func_logic.c
funcs/func_md5.c
funcs/func_module.c
funcs/func_rand.c
funcs/func_sha1.c
funcs/func_speex.c
funcs/func_strings.c
funcs/func_sysinfo.c
funcs/func_timeout.c
funcs/func_vmcount.c
include/asterisk/ast_expr.h
include/asterisk/autoconfig.h.in
include/asterisk/pbx.h
main/ast_expr2f.c
main/pbx.c
main/strings.c
res/res_agi.c
res/res_config_curl.c
res/res_phoneprov.c
tests/test_substitution.c [new file with mode: 0644]