[Asterisk-Dev] Major dialplan functions rework

Kevin P. Fleming kpfleming at digium.com
Thu May 5 21:14:53 MST 2005


Edwin Groothuis wrote:

> Can I ask for a small document, in either docs/ or funcs/, which
> describes how such a function has to be added (well, just add it
> to the Makefile), how to define a function internally (define it
> as a "struct ast_custom_function"), what are the required fields
> in the ast_custom_function are and (md5_function doesn't have the .desc for
> example, while cdr_function has .write), which mutexes to lock when
> playing around with the chan variable, when to load configuration
> files (for apps this was done in load_module()) etc etc etc.

Some of these are not function-related issues (like channel locking and 
config file loading). The remainder will be addressed once the new 
function stuff has settled down; it's been in the tree for less than 24 
hours and is still undergoing changes as we learn what is portable and 
what is not.



More information about the asterisk-dev mailing list