mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -758,13 +758,14 @@ int ast_channel_cmpwhentohangup(struct ast_channel *chan, time_t offset);
|
||||
*/
|
||||
void ast_channel_setwhentohangup(struct ast_channel *chan, time_t offset);
|
||||
|
||||
/*! \brief Answer a ringing call
|
||||
/*! \brief Answer a channel
|
||||
* \param chan channel to answer
|
||||
* This function answers a channel and handles all necessary call
|
||||
* setup functions.
|
||||
* \return Returns 0 on success, -1 on failure
|
||||
* \return Returns 0 on success, non-zero on failure
|
||||
*/
|
||||
int ast_answer(struct ast_channel *chan);
|
||||
int __ast_answer(struct ast_channel *chan, unsigned int delay);
|
||||
|
||||
/*! \brief Make a call
|
||||
* \param chan which channel to make the call on
|
||||
|
Reference in New Issue
Block a user