summaryrefslogtreecommitdiff
path: root/include/asterisk/dial.h
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-10-31 20:05:46 +0000
committerMark Michelson <mmichelson@digium.com>2008-10-31 20:05:46 +0000
commitd521ad969600ecf7148cad19eb58197a5f563044 (patch)
treee8f75f4ce91647652c8eaec16c7afe3c7b0bcc5f /include/asterisk/dial.h
parent5fe37e47c6a0f9a256e9e5668d2fd0f94d5c7504 (diff)
* Fixed timeout logic in the dialing API as setting timeouts
had no effect * Updated dialing API documentation to indicate that timeouts are specified in milliseconds * Added a new timeout argument to the Page application. If time expires, any endpoints which have not answered will be hung up. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/dial.h')
-rw-r--r--include/asterisk/dial.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/dial.h b/include/asterisk/dial.h
index fe4b63e93..e023fb342 100644
--- a/include/asterisk/dial.h
+++ b/include/asterisk/dial.h
@@ -154,7 +154,7 @@ void ast_dial_set_state_callback(struct ast_dial *dial, ast_dial_state_callback
/*! \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
+ * \param timeout Maximum time allowed in milliseconds
* \return nothing
*/
void ast_dial_set_global_timeout(struct ast_dial *dial, int timeout);
@@ -162,7 +162,7 @@ void ast_dial_set_global_timeout(struct ast_dial *dial, int timeout);
/*! \brief Set the maximum time (per channel) allowed for trying to ring the phone
* \param dial The dial structure the channel belongs to
* \param num Channel number to set timeout on
- * \param timeout Maximum time allowed
+ * \param timeout Maximum time allowed in milliseconds
* \return nothing
*/
void ast_dial_set_timeout(struct ast_dial *dial, int num, int timeout);