diff options
author | Jim Dixon <telesistant@hotmail.com> | 2006-04-22 11:30:06 +0000 |
---|---|---|
committer | Jim Dixon <telesistant@hotmail.com> | 2006-04-22 11:30:06 +0000 |
commit | a83297d85fef0396a45a2cab0005d7cd0478ed58 (patch) | |
tree | 7ae4c12bf61dba4c0d883eda9942c18b6f356ab3 /include/asterisk/frame.h | |
parent | b560433a36601f56c9257c4dbf657116de9b233e (diff) |
Added "Operator Services" connection mode for Zap channels, and the 'O' option
in app_dial to support the use of this mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/frame.h')
-rw-r--r-- | include/asterisk/frame.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index 099e20080..dd1a41732 100644 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -321,6 +321,14 @@ extern struct ast_frame ast_null_frame; */ #define AST_OPTION_RXGAIN 6 +/* set channel into "Operator Services" mode */ +#define AST_OPTION_OPRMODE 7 + +struct oprmode { + struct ast_channel *peer; + int mode; +} ; + struct ast_option_header { /* Always keep in network byte order */ #if __BYTE_ORDER == __BIG_ENDIAN |