Asterisk - The Open Source Telephony Project GIT-master-85241bd
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

int allow_wildcard_certs
 
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_vectorservice_routes
 
pjsip_tls_setting tls
 
struct pjsip_transport * transport
 Transport itself. More...
 
enum ast_transport type
 
int verify_server
 

Detailed Description

Structure for SIP transport information.

Definition at line 119 of file res_pjsip.h.

Field Documentation

◆ allow_wildcard_certs

int allow_wildcard_certs

Disregard RFC5922 7.2, and allow wildcard certs (TLS only)

Definition at line 195 of file res_pjsip.h.

◆ ciphers

pj_ssl_cipher ciphers[SIP_TLS_MAX_CIPHERS]

Configured TLS ciphers

Since
13.8.0

Definition at line 148 of file res_pjsip.h.

Referenced by find_or_create_temporary_state().

◆ external_media_address

struct ast_sockaddr external_media_address

Optional external signaling address information

Since
13.18.0

Definition at line 176 of file res_pjsip.h.

◆ 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 171 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 166 of file res_pjsip.h.

◆ 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 161 of file res_pjsip.h.

Referenced by destroy_sip_transport_state().

◆ factory

struct pjsip_tpfactory* factory

Transport factory.

Definition at line 123 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 138 of file res_pjsip.h.

Referenced by create_rtp(), t38_initialize_session(), 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 156 of file res_pjsip.h.

Referenced by destroy_sip_transport_state().

◆ preferred_identity

char* preferred_identity

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

Since
17.0.0

Definition at line 186 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 191 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 143 of file res_pjsip.h.

Referenced by find_or_create_temporary_state(), and transport_apply().

◆ transport

struct pjsip_transport* transport

◆ type

enum ast_transport type

Transport type

Since
13.8.0

Definition at line 133 of file res_pjsip.h.

Referenced by find_or_create_temporary_state(), find_transport_state_in_use(), get_udp_transport(), get_write_timeout(), and Property::load().

◆ verify_server

int verify_server

If true, fail if server certificate cannot verify (TLS only)

Definition at line 199 of file res_pjsip.h.


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