summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2013-06-26 19:29:57 +0000
committerJason Parker <jparker@digium.com>2013-06-26 19:29:57 +0000
commit609c42c854c8880548571241b893604c02d513d4 (patch)
tree8e133c58a4a5040c67b61cafb03332c66cddf2a6 /include/asterisk
parent5e27e13e284402d44d8e90051aba230ecf3c7547 (diff)
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
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/stasis_app.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asterisk/stasis_app.h b/include/asterisk/stasis_app.h
index 3eed47e35..881ef72a4 100644
--- a/include/asterisk/stasis_app.h
+++ b/include/asterisk/stasis_app.h
@@ -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.