From babd4e6876c01360f67a0b5b2d2453999648f96b Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Fri, 12 Dec 2008 23:06:55 +0000 Subject: [PATCH] Add a note to indicate why this only supports one channel for now. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163828 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_clioriginate.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/res/res_clioriginate.c b/res/res_clioriginate.c index 3839ebaf6b..4ed08a44ea 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); -- GitLab