diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-04-10 19:16:24 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-04-10 19:16:24 +0000 |
commit | ab31bec39282f84fd1e32850a4632ccbca3ca577 (patch) | |
tree | 8a672fb9b536c8a281410363e25a775963abbad4 /include/asterisk/dial.h | |
parent | 9255f350cfc2aa7df49e8f12208b8d979fc47bd2 (diff) |
Add an option to the dial API for playing music instead of ringing to the caller.
I started this for use with SLA but ended up deciding not to use it. However,
there is no reason not to put this part in, anyway.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/dial.h')
-rw-r--r-- | include/asterisk/dial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/dial.h b/include/asterisk/dial.h index 525f425a0..dd3604556 100644 --- a/include/asterisk/dial.h +++ b/include/asterisk/dial.h @@ -39,6 +39,7 @@ typedef void (*ast_dial_state_callback)(struct ast_dial *); enum ast_dial_option { AST_DIAL_OPTION_RINGING, /*!< Always indicate ringing to caller */ AST_DIAL_OPTION_ANSWER_EXEC, /*!< Execute application upon answer in async mode */ + AST_DIAL_OPTION_MUSIC, /*!< Play music on hold instead of ringing to the calling channel */ AST_DIAL_OPTION_MAX, /*!< End terminator -- must always remain last */ }; |