Add dial events to app_queue and app_followme.

Also fixes an issue in app_dial, where the channels were swapped on dial events.

(closes issue ASTERISK-21551)
(closes issue ASTERISK-21550)

Review: https://reviewboard.asterisk.org/r/2549/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2013-05-22 18:11:57 +00:00
parent 054efbc45a
commit b6aac885be
5 changed files with 91 additions and 38 deletions

View File

@@ -206,6 +206,11 @@ void ast_dial_set_global_timeout(struct ast_dial *dial, int timeout);
*/
void ast_dial_set_timeout(struct ast_dial *dial, int num, int timeout);
/*! \since 12
* \brief Convert a hangup cause to a publishable dial status
*/
const char *ast_hangup_cause_to_dial_status(int hangup_cause);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif