mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +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:
10
main/pbx.c
10
main/pbx.c
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user