aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/dial.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-10 19:16:24 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-10 19:16:24 +0000
commita54cf285d680065e14fd194fc9efc7f79f751b31 (patch)
tree8a672fb9b536c8a281410363e25a775963abbad4 /include/asterisk/dial.h
parent391b59a48e3418549f812914150ad997d2f1c8a1 (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: http://svn.digium.com/svn/asterisk/trunk@61259 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/dial.h')
-rw-r--r--include/asterisk/dial.h1
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 */
};