Merged revisions 129399 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r129399 | mattf | 2008-07-09 10:57:06 -0500 (Wed, 09 Jul 2008) | 1 line

Add Proceeding() application (#13025)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Matthew Fredrickson 18 years ago
parent b3ca68f90b
commit d00a013b44

@ -304,6 +304,7 @@ static int pbx_builtin_keepalive(struct ast_channel *, void *);
static int pbx_builtin_resetcdr(struct ast_channel *, void *); static int pbx_builtin_resetcdr(struct ast_channel *, void *);
static int pbx_builtin_setamaflags(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_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_progress(struct ast_channel *, void *);
static int pbx_builtin_congestion(struct ast_channel *, void *); static int pbx_builtin_congestion(struct ast_channel *, void *);
static int pbx_builtin_busy(struct ast_channel *, void *); static int pbx_builtin_busy(struct ast_channel *, void *);
@ -581,7 +582,13 @@ static struct pbx_builtin {
"purposes. Any text that is provided as arguments to this application can be\n" "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" "viewed at the Asterisk CLI. This method can be used to see the evaluations of\n"
"variables or functions without having any effect. Alternatively, see the\n" "variables or functions without having any effect. Alternatively, see the\n"
"Verbose() application for finer grain control of output at custom verbose levels.\n" "Verbose() application for finer grain control of output at custom verbose levels.\n"
},
{ "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, { "Progress", pbx_builtin_progress,
@ -6971,6 +6978,15 @@ static void wait_for_hangup(struct ast_channel *chan, void *data)
} while(f); } while(f);
} }
/*!
* \ingroup applications
*/
static int pbx_builtin_proceeding(struct ast_channel *chan, void *data)
{
ast_indicate(chan, AST_CONTROL_PROCEEDING);
return 0;
}
/*! /*!
* \ingroup applications * \ingroup applications
*/ */

Loading…
Cancel
Save