Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
dialed_cc_interfaces Struct Reference
Collaboration diagram for dialed_cc_interfaces:
Collaboration graph
[legend]

Data Fields

int core_id
 
unsigned int dial_parent_id
 
char ignore
 
struct cc_monitor_treeinterface_tree
 
char is_original_caller
 

Detailed Description

Definition at line 1886 of file ccss.c.

Field Documentation

◆ core_id

int core_id

Identifier for the potential CC request that may be made based on this call. Even though an instance of the core may not be made (since the caller may not request CC), we allocate a new core_id at the beginning of the call so that recipient channel drivers can have the information handy just in case the caller does end up requesting CC.

Definition at line 1911 of file ccss.c.

Referenced by ast_cc_call_init(), ast_cc_get_current_core_id(), ast_cc_offer(), ast_handle_cc_control_frame(), cc_interfaces_datastore_init(), and dialed_cc_interfaces_duplicate().

◆ dial_parent_id

unsigned int dial_parent_id

This value serves a dual-purpose. When dial starts, if the dialed_cc_interfaces datastore currently exists on the calling channel, then the dial_parent_id will serve as a means of letting the new extension cc_monitor we create know who his parent is. This value will be the extension cc_monitor that dialed the local channel that resulted in the new Dial app being called.

In addition, once an extension cc_monitor is created, the dial_parent_id will be changed to the id of that newly created interface. This way, device interfaces created from receiving AST_CONTROL_CC frames can use this field to determine who their parent extension interface should be.

Definition at line 1902 of file ccss.c.

Referenced by ast_cc_call_init(), ast_cc_extension_monitor_add_dialstring(), cc_build_payload(), cc_interfaces_datastore_init(), and dialed_cc_interfaces_duplicate().

◆ ignore

char ignore

When a new Dial application is started, and the datastore already exists on the channel, we can determine if we should be adding any new interface information to tree.

Definition at line 1917 of file ccss.c.

Referenced by ast_cc_call_init(), ast_cc_get_current_core_id(), ast_handle_cc_control_frame(), ast_ignore_cc(), and dialed_cc_interfaces_duplicate().

◆ interface_tree

struct cc_monitor_tree* interface_tree

◆ is_original_caller

char is_original_caller

When it comes time to offer CC to the caller, we only want to offer it to the original incoming channel. For nested Dials and outbound channels, it is incorrect to attempt such a thing. This flag indicates if the channel to which this datastore is attached may be legally offered CC when the call is finished.

Definition at line 1925 of file ccss.c.

Referenced by ast_cc_offer(), ast_handle_cc_control_frame(), cc_interfaces_datastore_init(), and dialed_cc_interfaces_duplicate().


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