res_parking: Automatically generate extensions, hints, etc.

(closes issue ASTERISK-21645)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2545/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2013-06-07 16:07:18 +00:00
parent bec2d79484
commit 8954661207
9 changed files with 483 additions and 117 deletions

View File

@@ -9612,6 +9612,16 @@ int ast_add_extension2(struct ast_context *con,
application, data, datad, registrar, 1);
}
int ast_add_extension2_nolock(struct ast_context *con,
int replace, const char *extension, int priority, const char *label, const char *callerid,
const char *application, void *data, void (*datad)(void *),
const char *registrar)
{
return ast_add_extension2_lockopt(con, replace, extension, priority, label, callerid,
application, data, datad, registrar, 0);
}
/*!
* \brief Same as ast_add_extension2() but controls the context locking.
*