[Asterisk-Dev] Major dialplan functions rework
Edwin Groothuis
edwin at mavetju.org
Thu May 5 17:45:17 MST 2005
On Wed, May 04, 2005 at 11:36:57PM -0700, Kevin P. Fleming wrote:
> See the commit just posted to asterisk-cvs... I made some significant
> changes in preparation for the bevy of new functions that are coming as
> people start converting existing applications to functions.
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.
This is purely from a point of somebody who has been asked to convert
his implementation of apps/app_enumlookup.c to funcs/func_enum.c.
Edwin
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the asterisk-dev
mailing list