![]() |
Home page |
Mailing list |
Docs
Collaboration diagram for ast_channel_tech:Asterisk developer's documentation :: Codename Pineapple
ast_channel_tech Struct Reference
#include <channel.h>

Definition at line 228 of file channel.h.
Data Fields | |
| int(*const | answer )(struct ast_channel *chan) |
| Answer the channel. | |
| enum ast_bridge_result(*const | bridge )(struct ast_channel *c0, struct ast_channel *c1, int flags, struct ast_frame **fo, struct ast_channel **rc, int timeoutms) |
| Bridge two channels of the same type together. | |
| ast_channel *(*const | bridged_channel )(struct ast_channel *chan, struct ast_channel *bridge) |
| Find bridged channel. | |
| int(*const | call )(struct ast_channel *chan, char *addr, int timeout) |
| Call a given phone number (address, etc), but don't take longer than timeout seconds to do so. | |
| int | capabilities |
| const char *const | description |
| int(*const | devicestate )(void *data) |
| enum ast_bridge_result(*const | early_bridge )(struct ast_channel *c0, struct ast_channel *c1) |
| Bridge two channels of the same type together (early). | |
| ast_frame *(*const | exception )(struct ast_channel *chan) |
| Handle an exception, reading a frame. | |
| int(*const | fixup )(struct ast_channel *oldchan, struct ast_channel *newchan) |
| Fix up a channel: If a channel is consumed, this is called. Basically update any ->owner links. | |
| int(* | func_channel_read )(struct ast_channel *chan, const char *function, char *data, char *buf, size_t len) |
| Provide additional read items for CHANNEL() dialplan function. | |
| int(* | func_channel_write )(struct ast_channel *chan, const char *function, char *data, const char *value) |
| Provide additional write items for CHANNEL() dialplan function. | |
| int(*const | hangup )(struct ast_channel *chan) |
| Hangup (and possibly destroy) the channel. | |
| int(*const | indicate )(struct ast_channel *c, int condition, const void *data, size_t datalen) |
| Indicate a particular condition (e.g. AST_CONTROL_BUSY or AST_CONTROL_RINGING or AST_CONTROL_CONGESTION. | |
| int | properties |
| int(*const | queryoption )(struct ast_channel *chan, int option, void *data, int *datalen) |
| Query a given option. | |
| ast_frame *(*const | read )(struct ast_channel *chan) |
| Read a frame, in standard format (see frame.h). | |
| ast_channel *(*const | requester )(const char *type, int format, void *data, int *cause) |
| Requester - to set up call data structures (pvt's). | |
| int(*const | send_digit_begin )(struct ast_channel *chan, char digit) |
| Start sending a literal DTMF digit. | |
| int(*const | send_digit_end )(struct ast_channel *chan, char digit, unsigned int duration) |
| Stop sending a literal DTMF digit. | |
| int(*const | send_html )(struct ast_channel *chan, int subclass, const char *data, int len) |
| Send HTML data. | |
| int(*const | send_image )(struct ast_channel *chan, struct ast_frame *frame) |
| Display or send an image. | |
| int(*const | send_text )(struct ast_channel *chan, const char *text) |
| Display or transmit text. | |
| int(*const | setoption )(struct ast_channel *chan, int option, void *data, int datalen) |
| Set a given option. | |
| int(*const | transfer )(struct ast_channel *chan, const char *newdest) |
| Blind transfer other side (see app_transfer.c and ast_transfer(). | |
| const char *const | type |
| int(*const | write )(struct ast_channel *chan, struct ast_frame *frame) |
| Write a frame, in standard format (see frame.h). | |
| int(*const | write_video )(struct ast_channel *chan, struct ast_frame *frame) |
| Write a frame, in standard format. | |
|
|
Answer the channel.
Referenced by __ast_answer(). |
|
|
Bridge two channels of the same type together.
|
|
|
Find bridged channel.
Referenced by ast_bridged_channel(). |
|
|
Call a given phone number (address, etc), but don't take longer than timeout seconds to do so.
Referenced by ast_call(). |
|
|
Bitmap of formats this channel can handle Definition at line 232 of file channel.h. Referenced by ast_request(), load_module(), and show_channeltype(). |
|
|
Definition at line 230 of file channel.h. Referenced by ast_channeltype_list(), and show_channeltypes(). |
|
|
Devicestate call back Referenced by ast_device_state(), show_channeltype(), and show_channeltypes(). |
|
|
Bridge two channels of the same type together (early).
Referenced by ast_channel_early_bridge(). |
|
|
Handle an exception, reading a frame.
Referenced by __ast_read(). |
|
|
Fix up a channel: If a channel is consumed, this is called. Basically update any ->owner links.
|
|
|
Provide additional read items for CHANNEL() dialplan function.
|
|
|
Provide additional write items for CHANNEL() dialplan function.
|
|
|
Hangup (and possibly destroy) the channel.
Referenced by ast_hangup(). |
|
|
Indicate a particular condition (e.g. AST_CONTROL_BUSY or AST_CONTROL_RINGING or AST_CONTROL_CONGESTION.
Referenced by ast_indicate_data(), ast_write(), show_channeltype(), and show_channeltypes(). |
|
|
Technology Properties Definition at line 234 of file channel.h. Referenced by ast_jb_do_usecheck(), and schedule_delivery(). |
|
|
Query a given option.
|
|
|
Read a frame, in standard format (see frame.h).
Referenced by __ast_read(), and sound_thread(). |
|
|
Requester - to set up call data structures (pvt's).
Referenced by ast_request(). |
|
|
Start sending a literal DTMF digit.
Referenced by ast_channel_bridge(), ast_rtp_bridge(), ast_senddigit_begin(), and show_channeltype(). |
|
|
Stop sending a literal DTMF digit.
Referenced by ast_senddigit_end(), and show_channeltype(). |
|
|
Send HTML data.
Referenced by ast_channel_sendhtml(), ast_channel_supports_html(), ast_write(), and show_channeltype(). |
|
|
Display or send an image.
Referenced by ast_send_image(), ast_supports_images(), and show_channeltype(). |
|
|
Display or transmit text.
Referenced by ast_sendtext(), ast_write(), and show_channeltype(). |
|
|
Set a given option.
Referenced by ast_channel_setoption(). |
|
|
Blind transfer other side (see app_transfer.c and ast_transfer().
Referenced by ast_transfer(), show_channeltype(), and show_channeltypes(). |
|
|
|
Write a frame, in standard format (see frame.h).
Referenced by ast_write(). |
|
|
Write a frame, in standard format.
Referenced by ast_write(), and ast_write_video(). |