ARI: Add support for continuing to a different location in dialplan.

This allows going elsewhere in the dialplan, so that the location can be
specified after exiting the Stasis application.

(closes issue ASTERISK-21870)

Review: https://reviewboard.asterisk.org/r/2644/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2013-06-26 19:29:57 +00:00
parent 5e27e13e28
commit 609c42c854
6 changed files with 83 additions and 4 deletions

View File

@@ -142,8 +142,14 @@ const char *stasis_app_control_get_channel_id(
* If the channel is no longer in \c res_stasis, this function does nothing.
*
* \param control Control for \c res_stasis
* \param context An optional context to continue to
* \param extension An optional extension to continue to
* \param priority An optional priority to continue to
*
* \return 0 for success
* \return -1 for error.
*/
void stasis_app_control_continue(struct stasis_app_control *control);
int stasis_app_control_continue(struct stasis_app_control *control, const char *context, const char *extension, int priority);
/*!
* \brief Answer the channel associated with this control.