[asterisk-commits] russell: trunk r163828 - /trunk/res/res_clioriginate.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 12 17:06:55 CST 2008
Author: russell
Date: Fri Dec 12 17:06:55 2008
New Revision: 163828
URL: http://svn.digium.com/view/asterisk?view=rev&rev=163828
Log:
Add a note to indicate why this only supports one channel for now.
Modified:
trunk/res/res_clioriginate.c
Modified: trunk/res/res_clioriginate.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_clioriginate.c?view=diff&rev=163828&r1=163827&r2=163828
==============================================================================
--- trunk/res/res_clioriginate.c (original)
+++ trunk/res/res_clioriginate.c Fri Dec 12 17:06:55 2008
@@ -184,6 +184,11 @@
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);
More information about the asterisk-commits
mailing list