Mon Jun 18 2012 03:58:27

Asterisk developer's documentation


cc_generic_agent_pvt Struct Reference
Collaboration diagram for cc_generic_agent_pvt:

Data Fields

char cid_name [AST_CHANNEL_NAME]
char cid_num [AST_CHANNEL_NAME]
char context [AST_CHANNEL_NAME]
char exten [AST_CHANNEL_NAME]
int offer_timer_id
struct ast_event_sub * sub

Field Documentation

char cid_name[AST_CHANNEL_NAME]

Caller ID name

See the description of cid_num. The same applies here, except this is the caller's name.

Definition at line 2383 of file ccss.c.

Referenced by cc_generic_agent_init(), and generic_recall().

char cid_num[AST_CHANNEL_NAME]

Caller ID number

When we re-call the caller, we need to provide this information to ast_request_and_dial so that the information will be present in the call to the callee

Definition at line 2375 of file ccss.c.

Referenced by cc_generic_agent_init(), and generic_recall().

char context[AST_CHANNEL_NAME]

Context dialed

The original context dialed. This is used so that when performaing a recall, we can call into the proper context

Definition at line 2399 of file ccss.c.

Referenced by cc_generic_agent_init(), and generic_recall().

char exten[AST_CHANNEL_NAME]

Extension dialed

The original extension dialed. This is used so that when performing a recall, we can call the proper extension.

Definition at line 2391 of file ccss.c.

Referenced by cc_generic_agent_init(), and generic_recall().

struct ast_event_sub* sub

Subscription to device state

Used in the CC_CALLER_BUSY state. The generic agent will subscribe to the device state of the caller in order to determine when we may move on

Definition at line 2361 of file ccss.c.

Referenced by generic_agent_devstate_unsubscribe(), cc_generic_agent_start_monitoring(), and cc_generic_agent_destructor().


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