Asterisk - The Open Source Telephony Project GIT-master-3dae2cf
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 116 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 192 of file res_pjsip.h.

◆ ciphers

pj_ssl_cipher ciphers[SIP_TLS_MAX_CIPHERS]

Configured TLS ciphers

Since
13.8.0

Definition at line 145 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 173 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 168 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 163 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 158 of file res_pjsip.h.

Referenced by destroy_sip_transport_state().

◆ factory

struct pjsip_tpfactory* factory

Transport factory.

Definition at line 120 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 135 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 153 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 183 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 188 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 140 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 130 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 196 of file res_pjsip.h.


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