Asterisk - The Open Source Telephony Project GIT-master-3dae2cf
|
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_type [32] |
Structure used for persisting an inbound subscription.
Definition at line 381 of file res_pjsip_pubsub.c.
SORCERY_OBJECT | ( | details | ) |
Sorcery object details
char contact_uri[PJSIP_MAX_URL_SIZE] |
Contact URI
Definition at line 405 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 399 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 385 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 403 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 409 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 395 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().
int local_port |
Local transport port
Definition at line 397 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 387 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 407 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 389 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 391 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 401 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_type[32] |
Local transport type (UDP,TCP,TLS)
Definition at line 393 of file res_pjsip_pubsub.c.
Referenced by subscription_persistence_recreate(), and subscription_persistence_update().