summaryrefslogtreecommitdiff
path: root/res/stasis_http/resource_channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'res/stasis_http/resource_channels.h')
-rw-r--r--res/stasis_http/resource_channels.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/res/stasis_http/resource_channels.h b/res/stasis_http/resource_channels.h
index 983642d9a..4616611e6 100644
--- a/res/stasis_http/resource_channels.h
+++ b/res/stasis_http/resource_channels.h
@@ -54,10 +54,18 @@ void stasis_http_get_channels(struct ast_variable *headers, struct ast_get_chann
struct ast_originate_args {
/*! \brief Endpoint to call. If not specified, originate is routed via dialplan */
const char *endpoint;
- /*! \brief Extension to dial */
+ /*! \brief When routing via dialplan, the extension to dial */
const char *extension;
- /*! \brief When routing via dialplan, the context use. If omitted, uses 'default' */
+ /*! \brief When routing via dialplan, the context to use. If omitted, uses 'default' */
const char *context;
+ /*! \brief CallerID to use when dialing the endpoint or extension. */
+ const char *caller_id;
+ /*! \brief Timeout (in seconds) before giving up dialing, or -1 for no timeout. */
+ int timeout;
+ /*! \brief Application name to pass to the Stasis application. */
+ const char *app;
+ /*! \brief Application arguments to pass to the Stasis application. */
+ const char *app_args;
};
/*!
* \brief Create a new channel (originate).