aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-12 23:06:55 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-12 23:06:55 +0000
commitb5d34abc10c2d36671421409411cb93343f34202 (patch)
tree8995c969245aeead0af3fc7081c8de4a96d6986c /res
parent34a60146cc015d9a7b350ed15fc221ae365ff14e (diff)
Add a note to indicate why this only supports one channel for now.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@163828 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_clioriginate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/res_clioriginate.c b/res/res_clioriginate.c
index 3839ebaf6..4ed08a44e 100644
--- a/res/res_clioriginate.c
+++ b/res/res_clioriginate.c
@@ -184,6 +184,11 @@ static char *handle_redirect(struct ast_cli_entry *e, int cmd, struct ast_cli_ar
e->usage = ""
"Usage: channel redirect <channel> <[[context,]exten,]priority>\n"
" Redirect an active channel to a specified extension.\n";
+ /*! \todo It would be nice to be able to redirect 2 channels at the same
+ * time like you can with AMI redirect. However, it is not possible to acquire
+ * two channels without the potential for a deadlock with how ast_channel structs
+ * are managed today. Once ast_channel is a refcounted object, this command
+ * will be able to support that. */
return NULL;
case CLI_GENERATE:
return ast_complete_channels(a->line, a->word, a->pos, a->n, 2);