diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-03-10 19:12:11 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-03-10 19:12:11 +0000 |
commit | dc884645e6463fb181af816fdea3599713b0bd87 (patch) | |
tree | c16bdd5583e05977a7893075e3b541e1a3afa073 /include/asterisk/channel_pvt.h | |
parent | ea452d3fd8f99256d987297e5afa8d1c226b465e (diff) |
Version 0.1.7 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel_pvt.h')
-rwxr-xr-x | include/asterisk/channel_pvt.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asterisk/channel_pvt.h b/include/asterisk/channel_pvt.h index 8657d4d58..7fc464ebb 100755 --- a/include/asterisk/channel_pvt.h +++ b/include/asterisk/channel_pvt.h @@ -24,6 +24,14 @@ extern "C" { struct ast_channel_pvt { /* Private data used by channel backend */ void *pvt; + /* Write translation path */ + struct ast_trans_pvt *writetrans; + /* Read translation path */ + struct ast_trans_pvt *readtrans; + /* Raw read format */ + int rawreadformat; + /* Raw write format */ + int rawwriteformat; /* Send a literal DTMF digit */ int (*send_digit)(struct ast_channel *chan, char digit); /* Call a given phone number (address, etc), but don't @@ -39,6 +47,10 @@ struct ast_channel_pvt { int (*write)(struct ast_channel *chan, struct ast_frame *frame); /* Display or transmit text */ int (*send_text)(struct ast_channel *chan, char *text); + /* Handle an exception, reading a frame */ + struct ast_frame * (*exception)(struct ast_channel *chan); + /* Bridge two channels of the same type together */ + int (*bridge)(struct ast_channel *c0, struct ast_channel *c1, int flags, struct ast_frame **fo, struct ast_channel **rc); }; /* Create a channel structure */ |