diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-10-29 12:51:57 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-10-29 12:51:57 +0000 |
commit | aa7f9e55f26bb721e84a3943eef45d5ad959334b (patch) | |
tree | 555532b00db4a4ede6c886ca58deb36616b91864 /res/ari/resource_channels.h | |
parent | 6c417b0475acea32c508777c94975a6c7abc2ed5 (diff) |
ARI: Remove channels/{channelId}/dial
This removes the /ari/channels/{channelId}/dial URI since it is
redundant, overly complex, is likely to become more externally complex
over time, and is too high-level compared with other ARI operations.
See the following for further information:
http://lists.digium.com/pipermail/asterisk-app-dev/2013-October/000002.html
(closes issue ASTERISK-22784)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2968/
........
Merged revisions 402152 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/ari/resource_channels.h')
-rw-r--r-- | res/ari/resource_channels.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/res/ari/resource_channels.h b/res/ari/resource_channels.h index a65bb981b..d7d1dd0db 100644 --- a/res/ari/resource_channels.h +++ b/res/ari/resource_channels.h @@ -105,27 +105,6 @@ struct ast_delete_channel_args { * \param[out] response HTTP response */ void ast_ari_delete_channel(struct ast_variable *headers, struct ast_delete_channel_args *args, struct ast_ari_response *response); -/*! \brief Argument struct for ast_ari_dial() */ -struct ast_dial_args { - /*! \brief Channel's id */ - const char *channel_id; - /*! \brief Endpoint to call. If not specified, dial is routed via dialplan */ - const char *endpoint; - /*! \brief Extension to dial */ - const char *extension; - /*! \brief When routing via dialplan, the context use. If omitted, uses 'default' */ - const char *context; - /*! \brief Timeout (in seconds) before giving up dialing, or -1 for no timeout. */ - int timeout; -}; -/*! - * \brief Create a new channel (originate) and bridge to this channel. - * - * \param headers HTTP headers - * \param args Swagger parameters - * \param[out] response HTTP response - */ -void ast_ari_dial(struct ast_variable *headers, struct ast_dial_args *args, struct ast_ari_response *response); /*! \brief Argument struct for ast_ari_continue_in_dialplan() */ struct ast_continue_in_dialplan_args { /*! \brief Channel's id */ |