[Asterisk-cvs] asterisk/apps app_dial.c,1.126,1.127
markster at lists.digium.com
markster at lists.digium.com
Mon Jan 17 06:34:35 CST 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv27355/apps
Modified Files:
app_dial.c
Log Message:
Merge hold patch (bug #1840)
Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- app_dial.c 16 Jan 2005 07:58:51 -0000 1.126
+++ app_dial.c 17 Jan 2005 12:37:55 -0000 1.127
@@ -393,6 +393,16 @@
if (!ast_test_flag(outgoing, DIAL_RINGBACKONLY))
ast_indicate(in, AST_CONTROL_PROGRESS);
break;
+ case AST_CONTROL_HOLD:
+ if (option_verbose > 2)
+ ast_verbose(VERBOSE_PREFIX_3 "Call on %s placed on hold\n", o->chan->name);
+ ast_indicate(in, AST_CONTROL_HOLD);
+ break;
+ case AST_CONTROL_UNHOLD:
+ if (option_verbose > 2)
+ ast_verbose(VERBOSE_PREFIX_3 "Call on %s left from hold\n", o->chan->name);
+ ast_indicate(in, AST_CONTROL_UNHOLD);
+ break;
case AST_CONTROL_OFFHOOK:
case AST_CONTROL_FLASH:
/* Ignore going off hook and flash */
More information about the svn-commits
mailing list