diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-13 23:14:19 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-13 23:14:19 +0000 |
commit | 666355cc8981ef6e1d2044de39c7704591d877ea (patch) | |
tree | c37fd1c22ac2ae103dfae098916b5e547b69ca09 /apps/app_queue.c | |
parent | 156dd9b833a01f1f254accce9f7f1371e1c53f8e (diff) |
add auto-monitor support (issue #5411)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6773 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-x | apps/app_queue.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index c4813073c..071f9b57d 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -130,6 +130,8 @@ static char *descrip = "The option string may contain zero or more of the following characters:\n" " 't' -- allow the called user transfer the calling user\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" " 'h' -- allow callee 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': ast_set_flag(&(bridge_config.features_caller), AST_FEATURE_REDIRECT); 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': nondataquality = 0; break; |