Function that drops specified frames from channels.
More...
Go to the source code of this file.
|
enum | direction { TX = 0,
RX
} |
|
|
| AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY,"Function to drop frames on a channel.") |
|
static void | datastore_destroy_cb (void *data) |
|
static int | frame_drop_helper (struct ast_channel *chan, const char *cmd, char *data, const char *value) |
|
static void | hook_destroy_cb (void *framedata) |
|
static struct ast_frame * | hook_event_cb (struct ast_channel *chan, struct ast_frame *frame, enum ast_framehook_event event, void *data) |
|
static int | load_module (void) |
|
static int | unload_module (void) |
|
Function that drops specified frames from channels.
- Author
- Naveen Albert aster.nosp@m.isk@.nosp@m.phrea.nosp@m.knet.nosp@m..org
Definition in file func_frame_drop.c.
Initial value:= {
.type = "framedrop",
.destroy = datastore_destroy_cb
}
Definition at line 163 of file func_frame_drop.c.
Initial value:= {
.name = "FRAME_DROP",
.write = frame_drop_helper,
}
Definition at line 286 of file func_frame_drop.c.