Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv23057/apps

Modified Files:
        app_dial.c app_queue.c 
Log Message:
add auto-monitor support (issue #5411)


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- app_dial.c  5 Oct 2005 21:18:28 -0000       1.168
+++ app_dial.c  13 Oct 2005 23:14:19 -0000      1.169
@@ -87,8 +87,8 @@
 "             ${EXITCONTEXT} or the current context.\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"
-"      'w' -- allow the called user to write the conversation to disk via 
app_monitor\n"
-"      'W' -- allow the calling 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 
Monitor\n"
 "      'f' -- Forces callerid to be set as the extension of the line \n"
 "             making/redirecting the outgoing call. For example, some PSTNs\n"
 "             don't allow callerids from other extensions then the ones\n"

Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- app_queue.c 13 Oct 2005 20:16:50 -0000      1.167
+++ app_queue.c 13 Oct 2005 23:14:19 -0000      1.168
@@ -130,6 +130,8 @@
 "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 @@
                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;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to