mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
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:
@@ -469,6 +469,17 @@ int ast_add_extension2(struct ast_context *con, int replace, const char *extensi
|
||||
int priority, const char *label, const char *callerid,
|
||||
const char *application, void *data, void (*datad)(void *), const char *registrar);
|
||||
|
||||
/*!
|
||||
* \brief Same as ast_add_extension2, but assumes you have already locked context
|
||||
* \since 12.0.0
|
||||
*
|
||||
* \note con must be write locked prior to calling. For details about the arguments,
|
||||
* check ast_add_extension2()
|
||||
*/
|
||||
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);
|
||||
|
||||
/*!
|
||||
* \brief Map devstate to an extension state.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user