| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
RTCP logging with Homer. More...
#include "asterisk.h"#include "asterisk/res_hep.h"#include "asterisk/module.h"#include "asterisk/netsock2.h"#include "asterisk/channel.h"#include "asterisk/pbx.h"#include "asterisk/stasis.h"#include "asterisk/rtp_engine.h"#include "asterisk/json.h"#include "asterisk/config.h"
Go to the source code of this file.
| Functions | |
| static void | __reg_module (void) | 
| static void | __unreg_module (void) | 
| static char * | assign_uuid (struct ast_json *json_channel) | 
| struct ast_module * | AST_MODULE_SELF_SYM (void) | 
| static int | load_module (void) | 
| static void | rtcp_message_handler (struct stasis_message *message) | 
| static void | rtp_topic_handler (void *data, struct stasis_subscription *sub, struct stasis_message *message) | 
| static int | unload_module (void) | 
| Variables | |
| static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "RTCP HEPv3 Logger" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_EXTENDED, .load = load_module, .unload = unload_module, .requires = "res_hep", } | 
| static const struct ast_module_info * | ast_module_info = &__mod_info | 
| static struct stasis_subscription * | stasis_rtp_subscription | 
RTCP logging with Homer.
Definition in file res_hep_rtcp.c.
| 
 | static | 
Definition at line 191 of file res_hep_rtcp.c.
| 
 | static | 
Definition at line 191 of file res_hep_rtcp.c.
| 
 | static | 
Definition at line 46 of file res_hep_rtcp.c.
References ast_begins_with(), ast_channel_cleanup, ast_channel_get_by_name(), ast_func_read(), ast_json_object_get(), ast_json_string_get(), ast_strdup, buf, HEP_UUID_TYPE_CALL_ID, hepv3_get_uuid_type(), NULL, and uuid().
Referenced by rtcp_message_handler().
| struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) | 
Definition at line 191 of file res_hep_rtcp.c.
| 
 | static | 
Definition at line 158 of file res_hep_rtcp.c.
References ast_log, AST_LOG_WARNING, AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, ast_rtp_rtcp_received_type(), ast_rtp_rtcp_sent_type(), ast_rtp_topic(), hepv3_is_loaded(), NULL, rtp_topic_handler(), stasis_rtp_subscription, stasis_subscribe, stasis_subscription_accept_message_type(), STASIS_SUBSCRIPTION_FILTER_SELECTIVE, and stasis_subscription_set_filter().
| 
 | static | 
Definition at line 85 of file res_hep_rtcp.c.
References ao2_ref, assign_uuid(), ast_json_dump_string, ast_json_free(), ast_json_object_get(), ast_json_string_get(), ast_json_unref(), ast_sockaddr_parse(), ast_strlen_zero(), ast_tvnow(), hepv3_capture_info::capture_time, hepv3_capture_info::capture_type, hepv3_capture_info::dst_addr, HEPV3_CAPTURE_TYPE_RTCP, hepv3_create_capture_info(), hepv3_send_packet(), NULL, PARSE_PORT_REQUIRE, RAII_VAR, hepv3_capture_info::src_addr, stasis_message_to_json(), hepv3_capture_info::uuid, and hepv3_capture_info::zipped.
Referenced by rtp_topic_handler().
| 
 | static | 
Definition at line 148 of file res_hep_rtcp.c.
References ast_rtp_rtcp_received_type(), ast_rtp_rtcp_sent_type(), and rtcp_message_handler().
Referenced by load_module().
| 
 | static | 
Definition at line 177 of file res_hep_rtcp.c.
References stasis_rtp_subscription, and stasis_unsubscribe_and_join().
| 
 | static | 
Definition at line 191 of file res_hep_rtcp.c.
| 
 | static | 
Definition at line 191 of file res_hep_rtcp.c.
| 
 | static | 
Definition at line 44 of file res_hep_rtcp.c.
Referenced by load_module(), and unload_module().