From 609c42c854c8880548571241b893604c02d513d4 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Wed, 26 Jun 2013 19:29:57 +0000 Subject: 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 --- include/asterisk/stasis_app.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/asterisk/stasis_app.h') 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. -- cgit v1.2.3