Sat Apr 26 2014 22:03:23

Asterisk developer's documentation


ast_cc_monitor Struct Reference

#include <ccss.h>

Collaboration diagram for ast_cc_monitor:

Data Fields

int available_timer_id
struct ast_cc_monitor_callbackscallbacks
int core_id
char * dialstring
 Name that should be used to recall specified interface.
unsigned int id
struct ast_cc_interfaceinterface
struct {
   struct ast_cc_monitor *   next
next
unsigned int parent_id
void * private_data
 Data that is private to a monitor technology.
enum ast_cc_service_type service_offered

Detailed Description

Definition at line 510 of file ccss.h.


Field Documentation

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().

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
struct { ... } next

Definition at line 562 of file ccss.h.

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(), sig_pri_call(), sig_pri_cc_monitor_req_cc(), sig_pri_cc_monitor_status_rsp(), sig_pri_cc_monitor_suspend(), sig_pri_cc_monitor_unsuspend(), sip_call(), sip_cc_monitor_request_cc(), sip_cc_monitor_suspend(), and sip_cc_monitor_unsuspend().

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(), sig_pri_cc_monitor_req_cc(), and sip_cc_monitor_request_cc().


The documentation for this struct was generated from the following file: