Asterisk - The Open Source Telephony Project
18.5.0
|
#include <ccss.h>
Data Fields | |
int | available_timer_id |
const struct ast_cc_monitor_callbacks * | callbacks |
int | core_id |
char * | dialstring |
Name that should be used to recall specified interface. More... | |
unsigned int | id |
struct ast_cc_interface * | interface |
struct { | |
struct ast_cc_monitor * next | |
} | next |
unsigned int | parent_id |
void * | private_data |
Data that is private to a monitor technology. More... | |
enum ast_cc_service_type | service_offered |
int available_timer_id |
The ID of the available timer used by the current monitor
Definition at line 547 of file ccss.h.
Referenced by ast_cc_available_timer_expire(), cancel_available_timer(), cc_device_monitor_init(), cc_interface_tree_destroy(), cc_monitor_failed(), and request_cc().
const struct ast_cc_monitor_callbacks* callbacks |
Monitor callbacks
Definition at line 551 of file ccss.h.
Referenced by cancel_available_timer(), cc_device_monitor_init(), cc_interface_tree_destroy(), cc_monitor_destroy(), cc_monitor_failed(), cc_status_response(), request_cc(), suspend(), and unsuspend().
int core_id |
The instance of the CC core to which this monitor belongs
Definition at line 528 of file ccss.h.
Referenced by ast_cc_available_timer_expire(), ast_cc_call_init(), cc_device_monitor_init(), cc_generic_monitor_cancel_available_timer(), cc_generic_monitor_request_cc(), cc_generic_monitor_suspend(), cc_generic_monitor_unsuspend(), cc_interfaces_datastore_init(), cc_monitor_destroy(), cc_monitor_failed(), and sip_cc_monitor_suspend().
char* dialstring |
Name that should be used to recall specified interface.
When issuing a CC recall, some technologies will require that a name other than the device name is dialed. For instance, with SIP, a specific URI will be used which chan_sip will be able to recognize as being a CC recall. Similarly, ISDN will need a specific dial string to know that the call is a recall.
Definition at line 543 of file ccss.h.
Referenced by ast_handle_cc_control_frame(), build_cc_interfaces_chanvar(), cc_device_monitor_init(), and cc_monitor_destroy().
unsigned int id |
Every interface has an id that uniquely identifies it. It is formed by incrementing a counter.
Definition at line 519 of file ccss.h.
Referenced by ast_cc_call_init(), ast_cc_extension_monitor_add_dialstring(), build_cc_interfaces_chanvar(), cc_cli_print_monitor_stats(), cc_device_monitor_init(), cc_extension_monitor_change_is_valid(), cc_extension_monitor_init(), cc_interfaces_datastore_init(), and Model::load().
struct ast_cc_interface* interface |
Information regarding the interface.
Definition at line 514 of file ccss.h.
Referenced by ast_cc_available_timer_expire(), ast_cc_get_monitor_by_recall_core_id(), ast_cc_is_recall(), ast_handle_cc_control_frame(), ast_set_cc_interfaces_chanvar(), build_cc_interfaces_chanvar(), cancel_available_timer(), cc_cli_print_monitor_stats(), cc_device_monitor_init(), cc_extension_monitor_init(), cc_generic_monitor_cancel_available_timer(), cc_generic_monitor_request_cc(), cc_generic_monitor_suspend(), cc_generic_monitor_unsuspend(), cc_monitor_destroy(), cc_monitor_failed(), cc_status_response(), count_monitors_cb(), create_new_generic_list(), has_device_monitors(), request_cc(), sip_cc_monitor_request_cc(), suspend(), and unsuspend().
struct { ... } next |
struct ast_cc_monitor* next |
Definition at line 562 of file ccss.h.
Referenced by ast_cc_get_monitor_by_recall_core_id(), ast_cc_is_recall(), build_cc_interfaces_chanvar(), cancel_available_timer(), cc_cli_print_monitor_stats(), cc_interface_tree_destroy(), cc_monitor_failed(), cc_status_response(), count_monitors_cb(), has_device_monitors(), request_cc(), suspend(), and unsuspend().
unsigned int parent_id |
The ID of this monitor's parent. If this monitor is at the top of the tree, then his parent will be 0.
Definition at line 524 of file ccss.h.
Referenced by ast_handle_cc_control_frame(), build_cc_interfaces_chanvar(), cancel_available_timer(), cc_cli_print_monitor_stats(), cc_device_monitor_init(), cc_extension_monitor_init(), cc_monitor_failed(), request_cc(), suspend(), and unsuspend().
void* private_data |
Data that is private to a monitor technology.
Most channel drivers that implement CC monitors will have to allocate data that the CC core does not care about but which is vital to the operation of the monitor. This data is stored in this pointer so that the channel driver may use it as needed
Definition at line 561 of file ccss.h.
Referenced by ast_cc_extension_monitor_add_dialstring(), build_cc_interfaces_chanvar(), cc_device_monitor_init(), cc_extension_monitor_change_is_valid(), cc_extension_monitor_init(), cc_generic_monitor_request_cc(), cc_monitor_destroy(), sip_call(), sip_cc_monitor_request_cc(), sip_cc_monitor_suspend(), and sip_cc_monitor_unsuspend().
enum ast_cc_service_type service_offered |
The type of call completion service offered by a device.
Definition at line 532 of file ccss.h.
Referenced by cc_cli_print_monitor_stats(), cc_device_monitor_init(), cc_generic_monitor_request_cc(), and sip_cc_monitor_request_cc().