25 #if defined(__cplusplus) || defined(c_plusplus)
236 const char *userdefevname,
const char *extra,
struct ast_channel *peer2);
246 #define AST_CEL_EVENT_RECORD_VERSION 2
289 #if defined(__cplusplus) || defined(c_plusplus)
const char * account_code
the last channel with the given linkedid is retired
channel enters a conference
const char * caller_id_name
Helper struct for getting the fields out of a CEL event.
Main Channel structure associated with a channel.
void ast_cel_check_retire_linkedid(struct ast_channel *chan)
Check and potentially retire a Linked ID.
const char * user_defined_name
int ast_cel_report_event(struct ast_channel *chan, enum ast_cel_event_type event_type, const char *userdefevname, const char *extra, struct ast_channel *peer2)
Report a channel event.
const char * application_data
const char * application_name
unsigned int ast_cel_check_enabled(void)
Check to see if CEL is enabled.
const char * caller_id_num
const char * ast_cel_get_type_name(enum ast_cel_event_type type)
Get the name of a CEL event type.
a masquerade happened to alter the participants on a bridge
const char * ast_cel_get_ama_flag_name(enum ast_cel_ama_flag flag)
Convert AMA flag to printable string.
uint32_t version
struct ABI version
hangup terminates connection
int ast_cel_linkedid_ref(const char *linkedid)
Inform CEL that a new linkedid is being used.
a 3-way conference, usually part of a transfer
a 3-way conference, usually part of a transfer
enum ast_cel_event_type event_type
const char * caller_id_rdnis
a 3-way conference, usually part of a transfer
struct ast_channel * ast_cel_fabricate_channel_from_event(const struct ast_event *event)
Create a fake channel from data in a CEL event.
channel exits a conference
const char * caller_id_ani
const char * peer_account
enum ast_cel_event_type ast_cel_str_to_event_type(const char *name)
Get the event type from a string.
A ringing phone is answered.
a user-defined event, the event name field should be set
ast_cel_event_type
CEL event types.
const char * caller_id_dnid
const char * channel_name
ast_cel_ama_flag
AMA Flags.
void ast_cel_destroy(struct ast_cel *cel)
Destroy a CEL record.
struct timeval event_time
a directed pickup was performed on this channel
this call was forwarded somewhere else
struct ast_cel * ast_cel_alloc(void)
Allocate a CEL record.
int ast_cel_fill_record(const struct ast_event *event, struct ast_cel_event_record *r)
Fill in an ast_cel_event_record from a CEL event.