[asterisk-commits] rmudgett: branch 1.4 r303747 - /branches/1.4/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 25 11:31:25 CST 2011


Author: rmudgett
Date: Tue Jan 25 11:31:18 2011
New Revision: 303747

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=303747
Log:
Backport the Proceeding application.

Added in trunk -r129399.

Enable the workaround for issue #17085 and #18509.

(issue #17085)
(issue #18509)

Modified:
    branches/1.4/main/pbx.c

Modified: branches/1.4/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/pbx.c?view=diff&rev=303747&r1=303746&r2=303747
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Tue Jan 25 11:31:18 2011
@@ -223,6 +223,7 @@
 static int pbx_builtin_resetcdr(struct ast_channel *, void *);
 static int pbx_builtin_setamaflags(struct ast_channel *, void *);
 static int pbx_builtin_ringing(struct ast_channel *, void *);
+static int pbx_builtin_proceeding(struct ast_channel *, void *);
 static int pbx_builtin_progress(struct ast_channel *, void *);
 static int pbx_builtin_congestion(struct ast_channel *, void *);
 static int pbx_builtin_busy(struct ast_channel *, void *);
@@ -377,6 +378,12 @@
 	"purposes. Any text that is provided as arguments to this application can be\n"
 	"viewed at the Asterisk CLI. This method can be used to see the evaluations of\n"
 	"variables or functions without having any effect."
+	},
+
+	{ "Proceeding", pbx_builtin_proceeding,
+	"Indicate proceeding",
+	"  Proceeding(): This application will request that a proceeding message\n"
+	"be provided to the calling channel.\n"
 	},
 
 	{ "Progress", pbx_builtin_progress,
@@ -5486,6 +5493,15 @@
 /*!
  * \ingroup applications
  */
+static int pbx_builtin_proceeding(struct ast_channel *chan, void *data)
+{
+	ast_indicate(chan, AST_CONTROL_PROCEEDING);
+	return 0;
+}
+
+/*!
+ * \ingroup applications
+ */
 static int pbx_builtin_progress(struct ast_channel *chan, void *data)
 {
 	ast_indicate(chan, AST_CONTROL_PROGRESS);




More information about the asterisk-commits mailing list