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