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
This commit is contained in:
Jim Dixon
2006-04-22 11:30:06 +00:00
parent b560433a36
commit a83297d85f
3 changed files with 119 additions and 14 deletions

View File

@@ -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