mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
* 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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user