aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-09 22:35:11 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-09 22:35:11 +0000
commit45875de05b2edc159cb139f118a10c6b3a3a50a4 (patch)
tree24d92661f615e39c21f9c54e2f9f61f5d14a59ea /apps
parent921ddf8e949f5bb3cd2f4e432a152879e3a80f5f (diff)
Patch to add one-touch parking for queues.
(closes issue #10869, reported and patched by bluecrow76) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85177 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index b73d16d1e..9ed1b00d4 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -150,6 +150,10 @@ static char *descrip =
" 'T' -- allow the calling user to transfer the call.\n"
" 'w' -- allow the called user to write the conversation to disk via Monitor.\n"
" 'W' -- allow the calling user to write the conversation to disk via Monitor.\n"
+" 'k' -- Allow the called party to enable parking of the call by sending\n"
+" the DTMF sequence defined for call parking in features.conf.\n"
+" 'K' -- Allow the calling party to enable parking of the call by sending\n"
+" the DTMF sequence defined for call parking in features.conf.\n"
" In addition to transferring the call, a call may be parked and then picked\n"
"up by another user.\n"
" The optional URL will be sent to the called party if the channel supports\n"
@@ -2636,6 +2640,12 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
case 'H':
ast_set_flag(&(bridge_config.features_caller), AST_FEATURE_DISCONNECT);
break;
+ case 'k':
+ ast_set_flag(&(bridge_config.features_callee), AST_FEATURE_PARKCALL);
+ break;
+ case 'K':
+ ast_set_flag(&(bridge_config.features_caller), AST_FEATURE_PARKCALL);
+ break;
case 'n':
if (qe->parent->strategy == QUEUE_STRATEGY_RRMEMORY)
(*tries)++;