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

#include <sip.h>

Collaboration diagram for sip_epa_entry:
Collaboration graph
[legend]

Data Fields

char body [SIPBUFSIZE]
 
char destination [SIPBUFSIZE]
 
char entity_tag [SIPBUFSIZE]
 
void * instance_data
 
enum sip_publish_type publish_type
 
const struct epa_static_datastatic_data
 

Detailed Description

Definition at line 1644 of file sip.h.

Field Documentation

◆ body

char body[SIPBUFSIZE]

The body of the most recently-sent PUBLISH message. This is useful for situations such as authentication, in which we must send a message identical to the one previously sent

Definition at line 1668 of file sip.h.

Referenced by handle_cc_notify(), sip_cc_monitor_suspend(), sip_cc_monitor_unsuspend(), sip_monitor_instance_destructor(), and transmit_invite().

◆ destination

char destination[SIPBUFSIZE]

The destination to which this EPA should send PUBLISHes. This may be the name of a SIP peer or a hostname.

Definition at line 1661 of file sip.h.

Referenced by create_epa_entry(), and transmit_publish().

◆ entity_tag

char entity_tag[SIPBUFSIZE]

When we send a PUBLISH, we have to be sure to include the entity tag that we received in the previous response.

Definition at line 1655 of file sip.h.

Referenced by handle_response_publish(), and transmit_invite().

◆ instance_data

void* instance_data

In addition to the static data that all instances of sip_epa_entry will have, each instance will require its own instance-specific data.

Definition at line 1680 of file sip.h.

Referenced by cc_epa_destructor(), cc_handle_publish_error(), handle_cc_notify(), sip_cc_monitor_suspend(), and sip_cc_monitor_unsuspend().

◆ publish_type

enum sip_publish_type publish_type

When we are going to send a publish, we need to know the type of PUBLISH to send.

Definition at line 1649 of file sip.h.

Referenced by transmit_invite(), and transmit_publish().

◆ static_data

const struct epa_static_data* static_data

Every event package has some constant data and callbacks that all instances will share. This data resides in this field.

Definition at line 1674 of file sip.h.

Referenced by create_epa_entry(), handle_response_publish(), and transmit_invite().


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