summaryrefslogtreecommitdiff
path: root/include/asterisk/dial.h
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2012-03-10 20:06:46 +0000
committerJoshua Colp <jcolp@digium.com>2012-03-10 20:06:46 +0000
commitf5fda0eb74e4653282a2f5b25aa187c3ad16fe47 (patch)
tree213b917ef9945475139d4a407f3f454568930b7a /include/asterisk/dial.h
parent4657b016ad8250c999f3fad110edf0a1f8c74acd (diff)
Transition app_page to using app_confbridge internally for the conference bridge portion of paging. This also adds a new 'announcement' option to ConfBridge user profiles.
Review: https://reviewboard.asterisk.org/r/1754/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/dial.h')
-rw-r--r--include/asterisk/dial.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asterisk/dial.h b/include/asterisk/dial.h
index e023fb342..04721d283 100644
--- a/include/asterisk/dial.h
+++ b/include/asterisk/dial.h
@@ -152,6 +152,19 @@ int ast_dial_option_disable(struct ast_dial *dial, int num, enum ast_dial_option
*/
void ast_dial_set_state_callback(struct ast_dial *dial, ast_dial_state_callback callback);
+/*! \brief Set user data on a dial structure
+ * \param dial The dial structure to set a user data pointer on
+ * \param user_data The user data pointer
+ * \return nothing
+ */
+void ast_dial_set_user_data(struct ast_dial *dial, void *user_data);
+
+/*! \brief Return the user data on a dial structure
+ * \param dial The dial structure
+ * \return A pointer to the user data
+ */
+void *ast_dial_get_user_data(struct ast_dial *dial);
+
/*! \brief Set the maximum time (globally) allowed for trying to ring phones
* \param dial The dial structure to apply the time limit to
* \param timeout Maximum time allowed in milliseconds