mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
/ changed ast_channel_tech structure init to the GCC-specific format, seems
/ to compile, but havent run it yet git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -326,30 +326,30 @@ static int vpb_indicate(struct ast_channel *ast, int condition);
|
|||||||
static int vpb_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);
|
static int vpb_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);
|
||||||
|
|
||||||
static const struct ast_channel_tech vpb_tech = {
|
static const struct ast_channel_tech vpb_tech = {
|
||||||
type,
|
type: type,
|
||||||
tdesc,
|
description: tdesc,
|
||||||
AST_FORMAT_SLINEAR,
|
capabilities: AST_FORMAT_SLINEAR,
|
||||||
NULL,
|
properties: NULL,
|
||||||
vpb_request,
|
requester: vpb_request,
|
||||||
NULL,
|
devicestate: NULL,
|
||||||
vpb_digit,
|
send_digit: vpb_digit,
|
||||||
vpb_call,
|
call: vpb_call,
|
||||||
vpb_hangup,
|
hangup: vpb_hangup,
|
||||||
vpb_answer,
|
answer: vpb_answer,
|
||||||
vpb_read,
|
read: vpb_read,
|
||||||
vpb_write,
|
write: vpb_write,
|
||||||
NULL,
|
send_text: NULL,
|
||||||
NULL,
|
send_image: NULL,
|
||||||
NULL,
|
send_html: NULL,
|
||||||
NULL,
|
exception: NULL,
|
||||||
vpb_bridge,
|
bridge: vpb_bridge,
|
||||||
vpb_indicate,
|
indicate: vpb_indicate,
|
||||||
vpb_fixup,
|
fixup: vpb_fixup,
|
||||||
NULL,
|
setoption: NULL,
|
||||||
NULL,
|
queryoption: NULL,
|
||||||
NULL,
|
transfer: NULL,
|
||||||
NULL,
|
write_video: NULL,
|
||||||
NULL
|
bridged_channel: NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Can't get vpb_bridge() working on v4pci without either a horrible
|
/* Can't get vpb_bridge() working on v4pci without either a horrible
|
||||||
|
Reference in New Issue
Block a user