Private header for res_cdrel_custom.
cdrel_dummy_channel_alloc cdrel_dummy_channel_allocators[cdrel_format_type_end]
cdrel_field_getter cdrel_field_getters[cdrel_record_type_end][cdrel_data_type_end]
@ AST_CEL_USER_DEFINED
a user-defined event, the event name field should be set
struct ast_channel * ast_cel_fabricate_channel_from_event(const struct ast_event *event)
Create a fake channel from data in a CEL event.
const char * ast_cel_get_type_name(enum ast_cel_event_type type)
Get the name of a CEL event type.
static const char config[]
uint32_t ast_event_get_ie_uint(const struct ast_event *event, enum ast_event_ie_type ie_type)
Get the value of an information element that has an integer payload.
const char * ast_event_get_ie_str(const struct ast_event *event, enum ast_event_ie_type ie_type)
Get the value of an information element that has a string payload.
@ AST_EVENT_IE_CEL_EVENT_TIME
Channel Event Time (seconds) Used by: AST_EVENT_CEL Payload type: UINT.
@ AST_EVENT_IE_CEL_USEREVENT_NAME
Channel Event User Event Name Used by: AST_EVENT_CEL Payload type: STR.
@ AST_EVENT_IE_CEL_EVENT_TIME_USEC
Channel Event Time (micro-seconds) Used by: AST_EVENT_CEL Payload type: UINT.
@ AST_EVENT_IE_CEL_EVENT_TYPE
Channel Event Type Used by: AST_EVENT_CEL Payload type: UINT.
static int cel_get_event_type(void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value)
static int cel_get_event_enum(void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value)
static struct ast_channel * dummy_chan_alloc_cel(struct cdrel_config *config, void *data)
static int cel_get_literal(void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value)
static int cel_get_uint32(void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value)
static int cel_get_string(void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value)
static int cel_get_timeval(void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value)
#define ast_debug(level,...)
Log a DEBUG message.
Main Channel structure associated with a channel.