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

Structure for SIP transport information. More...

#include <res_pjsip.h>

Collaboration diagram for ast_sip_transport_state:
Collaboration graph
[legend]

Data Fields

pj_ssl_cipher ciphers [SIP_TLS_MAX_CIPHERS]
 
struct ast_sockaddr external_media_address
 
struct ast_dnsmgr_entryexternal_media_address_refresher
 
struct ast_sockaddr external_signaling_address
 
struct ast_dnsmgr_entryexternal_signaling_address_refresher
 
struct pjsip_tpfactory * factory
 Transport factory. More...
 
int flow
 
pj_sockaddr host
 
char * id
 
struct ast_halocalnet
 
char * preferred_identity
 
struct ast_sip_service_route_vector * service_routes
 
pjsip_tls_setting tls
 
struct pjsip_transport * transport
 Transport itself. More...
 
enum ast_transport type
 

Detailed Description

Structure for SIP transport information.

Definition at line 87 of file res_pjsip.h.

Field Documentation

◆ ciphers

pj_ssl_cipher ciphers[SIP_TLS_MAX_CIPHERS]

Configured TLS ciphers

Since
13.8.0

Definition at line 116 of file res_pjsip.h.

Referenced by copy_state_to_transport(), find_or_create_temporary_state(), has_state_changed(), and tls_method_to_str().

◆ external_media_address

struct ast_sockaddr external_media_address

Optional external signaling address information

Since
13.18.0

Definition at line 144 of file res_pjsip.h.

Referenced by has_state_changed().

◆ external_media_address_refresher

struct ast_dnsmgr_entry* external_media_address_refresher

DNS manager for refreshing the external media address

Since
13.18.0

Definition at line 139 of file res_pjsip.h.

Referenced by destroy_sip_transport_state().

◆ external_signaling_address

struct ast_sockaddr external_signaling_address

Optional external signaling address information

Since
13.8.0

Definition at line 134 of file res_pjsip.h.

Referenced by copy_state_to_transport(), and has_state_changed().

◆ external_signaling_address_refresher

struct ast_dnsmgr_entry* external_signaling_address_refresher

DNS manager for refreshing the external signaling address

Since
13.8.0

Definition at line 129 of file res_pjsip.h.

Referenced by copy_state_to_transport(), and destroy_sip_transport_state().

◆ factory

struct pjsip_tpfactory* factory

Transport factory.

Definition at line 91 of file res_pjsip.h.

Referenced by ast_sip_set_tpselector_from_transport(), and find_transport_state_in_use().

◆ flow

int flow

◆ host

pj_sockaddr host

Address and port to bind to

Since
13.8.0

Definition at line 106 of file res_pjsip.h.

Referenced by cli_print_body(), copy_state_to_transport(), create_rtp(), has_state_changed(), and Registration::write().

◆ id

char* id

◆ localnet

struct ast_ha* localnet

Optional local network information, used for NAT purposes. "deny" (set) means that it's in the local network. Use the ast_sip_transport_is_nonlocal and ast_sip_transport_is_local macro's.

Since
13.8.0

Definition at line 124 of file res_pjsip.h.

Referenced by copy_state_to_transport(), destroy_sip_transport_state(), has_state_changed(), localnet_to_str(), localnet_to_vl(), and transport_localnet_handler().

◆ preferred_identity

char* preferred_identity

The P-Preferred-Identity to use on traffic using this transport

Since
17.0.0

Definition at line 154 of file res_pjsip.h.

Referenced by ast_sip_message_apply_transport(), and ast_sip_transport_state_set_preferred_identity().

◆ service_routes

struct ast_sip_service_route_vector* service_routes

The Service Routes to use on traffic using this transport

Since
17.0.0

Definition at line 159 of file res_pjsip.h.

Referenced by ast_sip_message_apply_transport(), and ast_sip_transport_state_set_service_routes().

◆ tls

pjsip_tls_setting tls

TLS settings

Since
13.8.0

Definition at line 111 of file res_pjsip.h.

Referenced by copy_state_to_transport(), find_or_create_temporary_state(), has_state_changed(), tls_method_to_str(), and transport_apply().

◆ transport

struct pjsip_transport* transport

◆ type

enum ast_transport type

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