Thu Apr 16 06:48:31 2015

Asterisk developer's documentation


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.

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 801 of file ccss.h.


Field Documentation

The configuration parameters used for this interface

Definition at line 817 of file ccss.h.

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

char device_name[1]

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 813 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:

Generated on Thu Apr 16 06:48:31 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6