[asterisk-commits] mmichelson: trunk r85177 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 9 17:35:11 CDT 2007


Author: mmichelson
Date: Tue Oct  9 17:35:11 2007
New Revision: 85177

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85177
Log:
Patch to add one-touch parking for queues.

(closes issue #10869, reported and patched by bluecrow76)


Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=85177&r1=85176&r2=85177
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Tue Oct  9 17:35:11 2007
@@ -150,6 +150,10 @@
 "      '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 @@
 		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)++;




More information about the asterisk-commits mailing list