diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-31 20:05:46 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-31 20:05:46 +0000 |
commit | 9bc20020f1e99162aca248e3f071ee5b5fea35d0 (patch) | |
tree | e8f75f4ce91647652c8eaec16c7afe3c7b0bcc5f /include/asterisk/dial.h | |
parent | b417a0a687cc0c5ed9bac14430cfa70281274657 (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: http://svn.digium.com/svn/asterisk/trunk@153223 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/dial.h')
-rw-r--r-- | include/asterisk/dial.h | 4 |
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); |