diff options
author | Jason Parker <jparker@digium.com> | 2013-05-22 18:11:57 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2013-05-22 18:11:57 +0000 |
commit | b6aac885be2d1afbaf8524a81f1ef953213958d9 (patch) | |
tree | 0db5fdca05e0dabce72f6e5585f96e297f52dca7 /include/asterisk/dial.h | |
parent | 054efbc45a0f238b6d97bbb6bef7c5afbc93a18c (diff) |
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
Diffstat (limited to 'include/asterisk/dial.h')
-rw-r--r-- | include/asterisk/dial.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/dial.h b/include/asterisk/dial.h index 0991c8ff6..7aa892f60 100644 --- a/include/asterisk/dial.h +++ b/include/asterisk/dial.h @@ -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 |