mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-06 21:09:47 +00:00
major dialplan functions update
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Asterisk -- An open source telephony toolkit.
|
||||
*
|
||||
* Copyright (C) 1999 - 2005, Digium, Inc.
|
||||
* Copyright (C) 1999 - 2006, Digium, Inc.
|
||||
*
|
||||
* Mark Spencer <markster@digium.com>
|
||||
*
|
||||
@@ -256,6 +256,10 @@ struct ast_channel_tech {
|
||||
|
||||
/*! Find bridged channel */
|
||||
struct ast_channel *(* const bridged_channel)(struct ast_channel *chan, struct ast_channel *bridge);
|
||||
|
||||
/*! Provide additional items for CHANNEL() dialplan function */
|
||||
int (* func_channel_read)(struct ast_channel *chan, char *function, char *data, char *buf, size_t len);
|
||||
int (* func_channel_write)(struct ast_channel *chan, char *function, char *data, const char *value);
|
||||
};
|
||||
|
||||
struct ast_channel_spy_list;
|
||||
|
Reference in New Issue
Block a user