mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Add a note that the AGI commands array is not handled in a thread-safe way
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1603,6 +1603,13 @@ static char usage_noop[] =
|
||||
" Usage: NoOp\n"
|
||||
" Does nothing.\n";
|
||||
|
||||
/*!
|
||||
* \brief AGI commands
|
||||
*
|
||||
* \todo XXX This array is not handled in a thread safe way. There is no
|
||||
* synchronization done at all between the agi register and unregister functions
|
||||
* and the rest of this module which uses the entries here.
|
||||
*/
|
||||
static agi_command commands[MAX_COMMANDS] = {
|
||||
{ { "answer", NULL }, handle_answer, "Answer channel", usage_answer },
|
||||
{ { "channel", "status", NULL }, handle_channelstatus, "Returns status of the connected channel", usage_channelstatus },
|
||||
|
Reference in New Issue
Block a user