Asterisk - The Open Source Telephony Project  21.4.1
Data Structures | Functions | Variables
res_remb_modifier.c File Reference

REMB Modifier Module. More...

#include "asterisk.h"
#include <math.h>
#include "asterisk/module.h"
#include "asterisk/cli.h"
#include "asterisk/channel.h"
#include "asterisk/framehook.h"
#include "asterisk/rtp_engine.h"

Go to the source code of this file.

Data Structures

struct  remb_values
 

Functions

static void __reg_module (void)
 
static void __unreg_module (void)
 
struct ast_moduleAST_MODULE_SELF_SYM (void)
 
static char * handle_remb_set (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 
static int load_module (void)
 
static struct ast_frameremb_hook_event_cb (struct ast_channel *chan, struct ast_frame *frame, enum ast_framehook_event event, void *data)
 
static void remb_values_free (void *data)
 
static int unload_module (void)
 

Variables

static struct ast_module_info __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "REMB Modifier Module" , .key = "This paragraph is copyright (c) 2006 by Digium, Inc. \In order for your module to load, it must return this \key via a function called \"key\". Any code which \includes this paragraph must be licensed under the GNU \General Public License version 2 or later (at your \option). In addition to Digium's general reservations \of rights, Digium expressly reserves the right to \allow other parties to license this paragraph under \different terms. Any use of Digium, Inc. trademarks or \logos (including \"Asterisk\" or \"Digium\") without \express written permission of Digium, Inc. is prohibited.\n" , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_EXTENDED, .load = load_module, .unload = unload_module, }
 
static const struct ast_module_infoast_module_info = &__mod_info
 
static struct ast_cli_entry remb_cli []
 
static const struct ast_datastore_info remb_info
 

Detailed Description

REMB Modifier Module.

Author
Joshua Colp jcolp.nosp@m.@dig.nosp@m.ium.c.nosp@m.om

Definition in file res_remb_modifier.c.

Variable Documentation

struct ast_cli_entry remb_cli[]
static
Initial value:
= {
{ .handler = handle_remb_set , .summary = "Set the REMB value which overwrites what is sent or received" ,},
}

Definition at line 248 of file res_remb_modifier.c.

const struct ast_datastore_info remb_info
static
Initial value:
= {
.type = "REMB Values",
.destroy = remb_values_free,
}

Definition at line 54 of file res_remb_modifier.c.