diff options
author | Joshua Colp <jcolp@digium.com> | 2013-10-02 15:24:16 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2013-10-02 15:24:16 +0000 |
commit | 83d55f85ec017073802817d11bd337f74a0d2db8 (patch) | |
tree | 3827e7daa7701b3c9a3e5bd40fe846364864fc30 /include/asterisk/stasis_app.h | |
parent | c33aac75e4cc3bb0a689f5162213b9a91c134068 (diff) |
Allow specifying a channel to dial an extension and context in an ARI dial operation.
(issue ASTERISK-22625)
Reported by: Scott Griepentrog
........
Merged revisions 400254 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/stasis_app.h')
-rw-r--r-- | include/asterisk/stasis_app.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/stasis_app.h b/include/asterisk/stasis_app.h index 528c48030..5dbb55397 100644 --- a/include/asterisk/stasis_app.h +++ b/include/asterisk/stasis_app.h @@ -166,12 +166,15 @@ const char *stasis_app_control_get_channel_id( * * \param control Control for \c res_stasis * \param endpoint The endpoint to dial. + * \param exten Extension to dial if no endpoint specified. + * \param context Context to use with extension. * \param timeout The amount of time to wait for answer, before giving up. * * \return 0 for success * \return -1 for error. */ -int stasis_app_control_dial(struct stasis_app_control *control, const char *endpoint, int timeout); +int stasis_app_control_dial(struct stasis_app_control *control, const char *endpoint, const char *exten, + const char *context, int timeout); /*! * \brief Apply a bridge role to a channel controlled by a stasis app control |