mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
add auto-monitor support (issue #5411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -87,8 +87,8 @@ static char *descrip =
|
|||||||
" ${EXITCONTEXT} or the current context.\n"
|
" ${EXITCONTEXT} or the current context.\n"
|
||||||
" 't' -- allow the called user to transfer the calling user by hitting #.\n"
|
" 't' -- allow the called user to transfer the calling user by hitting #.\n"
|
||||||
" 'T' -- allow the calling user to transfer the call by hitting #.\n"
|
" 'T' -- allow the calling user to transfer the call by hitting #.\n"
|
||||||
" 'w' -- allow the called user to write the conversation to disk via app_monitor\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 app_monitor\n"
|
" 'W' -- allow the calling user to write the conversation to disk via Monitor\n"
|
||||||
" 'f' -- Forces callerid to be set as the extension of the line \n"
|
" 'f' -- Forces callerid to be set as the extension of the line \n"
|
||||||
" making/redirecting the outgoing call. For example, some PSTNs\n"
|
" making/redirecting the outgoing call. For example, some PSTNs\n"
|
||||||
" don't allow callerids from other extensions then the ones\n"
|
" don't allow callerids from other extensions then the ones\n"
|
||||||
|
|||||||
@@ -130,6 +130,8 @@ static char *descrip =
|
|||||||
"The option string may contain zero or more of the following characters:\n"
|
"The option string may contain zero or more of the following characters:\n"
|
||||||
" 't' -- allow the called user transfer the calling user\n"
|
" 't' -- allow the called user transfer the calling user\n"
|
||||||
" 'T' -- to allow the calling user to transfer the call.\n"
|
" 'T' -- to 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"
|
||||||
" 'd' -- data-quality (modem) call (minimum delay).\n"
|
" 'd' -- data-quality (modem) call (minimum delay).\n"
|
||||||
" 'h' -- allow callee to hang up by hitting *.\n"
|
" 'h' -- allow callee to hang up by hitting *.\n"
|
||||||
" 'H' -- allow caller to hang up by hitting *.\n"
|
" 'H' -- allow caller to hang up by hitting *.\n"
|
||||||
@@ -1988,6 +1990,12 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
|
|||||||
case 'T':
|
case 'T':
|
||||||
ast_set_flag(&(bridge_config.features_caller), AST_FEATURE_REDIRECT);
|
ast_set_flag(&(bridge_config.features_caller), AST_FEATURE_REDIRECT);
|
||||||
break;
|
break;
|
||||||
|
case 'w':
|
||||||
|
ast_set_flag(&(bridge_config.features_callee), AST_FEATURE_AUTOMON);
|
||||||
|
break;
|
||||||
|
case 'W':
|
||||||
|
ast_set_flag(&(bridge_config.features_caller), AST_FEATURE_AUTOMON);
|
||||||
|
break;
|
||||||
case 'd':
|
case 'd':
|
||||||
nondataquality = 0;
|
nondataquality = 0;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user