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 1884 of file ccss.c.


Field Documentation

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

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

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

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

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