Add Proceeding() application (#13025)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@129399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Matthew Fredrickson 17 years ago
parent b2ced9216c
commit 0b185a2276

@ -292,6 +292,7 @@ static int pbx_builtin_keepalive(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_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 *);
@ -591,6 +592,12 @@ static struct pbx_builtin {
"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,
"Indicate progress",
" Progress(): This application will request that in-band progress information\n"
@ -7221,6 +7228,15 @@ static void wait_for_hangup(struct ast_channel *chan, void *data)
} 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
*/

Loading…
Cancel
Save