Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_cc_interface Struct Reference

Structure with information about an outbound interface. More...

#include <ccss.h>

Collaboration diagram for ast_cc_interface:
Collaboration graph
[legend]

Data Fields

struct ast_cc_config_paramsconfig_params
 
char device_name [1]
 
enum ast_cc_monitor_class monitor_class
 
const char * monitor_type
 The type of monitor that should be used for this interface. More...
 

Detailed Description

Structure with information about an outbound interface.

This structure is first created when an outbound interface indicates that it is capable of accepting a CC request. It is stored in a "tree" on a datastore on the caller's channel. Once an agent structure is created, the agent gains a reference to the tree of interfaces. If CC is requested, then the interface tree on the agent is converted into a tree of monitors. Each monitor will contain a pointer to an individual ast_cc_interface. Finally, the tree of interfaces is also present on a second datastore during a CC recall so that the CC_INTERFACES channel variable may be properly populated.

Definition at line 818 of file ccss.h.

Field Documentation

◆ config_params

struct ast_cc_config_params* config_params

The configuration parameters used for this interface

Definition at line 834 of file ccss.h.

Referenced by cc_device_monitor_init(), cc_generic_monitor_request_cc(), and sip_cc_monitor_request_cc().

◆ device_name

char device_name[1]

◆ monitor_class

enum ast_cc_monitor_class monitor_class

◆ monitor_type

const char* monitor_type

The type of monitor that should be used for this interface.

This will be something like "extension" "generic" or "SIP". This should point to a static const char *, so there is no reason to make a new copy.

Definition at line 830 of file ccss.h.

Referenced by ast_cc_is_recall(), cc_device_monitor_init(), cc_extension_monitor_init(), and count_monitors_cb().


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