/ to compile, but havent run it yet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5218
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
static int vpb_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);
static const struct ast_channel_tech vpb_tech = {
- type,
- tdesc,
- AST_FORMAT_SLINEAR,
- NULL,
- vpb_request,
- NULL,
- vpb_digit,
- vpb_call,
- vpb_hangup,
- vpb_answer,
- vpb_read,
- vpb_write,
- NULL,
- NULL,
- NULL,
- NULL,
- vpb_bridge,
- vpb_indicate,
- vpb_fixup,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
+ type: type,
+ description: tdesc,
+ capabilities: AST_FORMAT_SLINEAR,
+ properties: NULL,
+ requester: vpb_request,
+ devicestate: NULL,
+ send_digit: vpb_digit,
+ call: vpb_call,
+ hangup: vpb_hangup,
+ answer: vpb_answer,
+ read: vpb_read,
+ write: vpb_write,
+ send_text: NULL,
+ send_image: NULL,
+ send_html: NULL,
+ exception: NULL,
+ bridge: vpb_bridge,
+ indicate: vpb_indicate,
+ fixup: vpb_fixup,
+ setoption: NULL,
+ queryoption: NULL,
+ transfer: NULL,
+ write_video: NULL,
+ bridged_channel: NULL
};
/* Can't get vpb_bridge() working on v4pci without either a horrible