Asterisk - The Open Source Telephony Project
18.5.0
|
Structure used for persisting an inbound subscription. More...
Public Member Functions | |
SORCERY_OBJECT (details) | |
Data Fields | |
char | contact_uri [PJSIP_MAX_URL_SIZE] |
unsigned int | cseq |
char * | endpoint |
struct timeval | expires |
struct ast_json * | generator_data |
char | local_name [PJ_INET6_ADDRSTRLEN] |
int | local_port |
char | packet [PJSIP_MAX_PKT_LEN] |
int | prune_on_boot |
char | src_name [PJ_INET6_ADDRSTRLEN] |
int | src_port |
char * | tag |
char | transport_key [32] |
Structure used for persisting an inbound subscription.
Definition at line 370 of file res_pjsip_pubsub.c.
SORCERY_OBJECT | ( | details | ) |
Sorcery object details
char contact_uri[PJSIP_MAX_URL_SIZE] |
Contact URI
Definition at line 394 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().
unsigned int cseq |
Next CSeq to use for message
Definition at line 388 of file res_pjsip_pubsub.c.
Referenced by create_subscription_tree(), and subscription_persistence_update().
char* endpoint |
The name of the endpoint involved in the subscription
Definition at line 374 of file res_pjsip_pubsub.c.
Referenced by initial_notify_task(), persistence_endpoint_str2struct(), persistence_endpoint_struct2str(), sub_persistence_recreate(), sub_tree_subscription_terminate_cb(), subscription_persistence_create(), subscription_persistence_destroy(), subscription_persistence_recreate(), and subscription_persistence_update().
struct timeval expires |
When this subscription expires
Definition at line 392 of file res_pjsip_pubsub.c.
Referenced by cli_subscription_expiry(), persistence_expires_str2struct(), persistence_expires_struct2str(), sub_persistence_recreate(), subscription_persistence_recreate(), and subscription_persistence_update().
struct ast_json* generator_data |
Body generator specific persistence data
Definition at line 398 of file res_pjsip_pubsub.c.
Referenced by allocate_subscription(), ast_sip_subscription_set_persistence_data(), persistence_generator_data_str2struct(), persistence_generator_data_struct2str(), and subscription_persistence_destroy().
char local_name[PJ_INET6_ADDRSTRLEN] |
Local transport address
Definition at line 384 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().
int local_port |
Local transport port
Definition at line 386 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().
char packet[PJSIP_MAX_PKT_LEN] |
SIP message that creates the subscription
Definition at line 376 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().
int prune_on_boot |
Prune subscription on restart
Definition at line 396 of file res_pjsip_pubsub.c.
Referenced by sub_tree_subscription_terminate_cb(), subscription_persistence_recreate(), subscription_persistence_remove(), and subscription_persistence_update().
char src_name[PJ_INET6_ADDRSTRLEN] |
Source address of the message
Definition at line 378 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().
int src_port |
Source port of the message
Definition at line 380 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().
char* tag |
Local tag of the dialog
Definition at line 390 of file res_pjsip_pubsub.c.
Referenced by create_subscription_tree(), persistence_tag_str2struct(), persistence_tag_struct2str(), sub_persistence_recreate(), subscription_persistence_create(), subscription_persistence_destroy(), and subscription_persistence_recreate().
char transport_key[32] |
Local transport key type
Definition at line 382 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().