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

Structure for SIP transport information. More...

#include <res_pjsip.h>

Data Fields

int allow_wildcard_certs
 
struct stat cert_file_stat
 
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.
 
int flow
 
pj_sockaddr host
 
char * id
 
struct ast_halocalnet
 
char * preferred_identity
 
struct stat privkey_file_stat
 
struct ast_sip_service_route_vectorservice_routes
 
pjsip_tls_setting tls
 
struct pjsip_transport * transport
 Transport itself.
 
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

int allow_wildcard_certs

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

Definition at line 195 of file res_pjsip.h.

struct stat cert_file_stat

The stats information for the certificate file, if configured

Definition at line 204 of file res_pjsip.h.

pj_ssl_cipher ciphers[SIP_TLS_MAX_CIPHERS]

Configured TLS ciphers

Since
13.8.0

Definition at line 148 of file res_pjsip.h.

struct ast_sockaddr external_media_address

Optional external signaling address information

Since
13.18.0

Definition at line 176 of file res_pjsip.h.

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.

struct ast_sockaddr external_signaling_address

Optional external signaling address information

Since
13.8.0

Definition at line 166 of file res_pjsip.h.

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.

int flow

Set when this transport is a flow of signaling to a target

Since
17.0.0

Definition at line 181 of file res_pjsip.h.

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(), Registration::parse_host_part(), t38_initialize_session(), and Registration::write().

char* id

Transport id

Since
13.8.0

Definition at line 128 of file res_pjsip.h.

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.

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.

struct stat privkey_file_stat

The stats information for the private key file, if configured

Definition at line 208 of file res_pjsip.h.

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.

pjsip_tls_setting tls

TLS settings

Since
13.8.0

Definition at line 143 of file res_pjsip.h.

enum ast_transport type

Transport type

Since
13.8.0

Definition at line 133 of file res_pjsip.h.

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: