Asterisk - The Open Source Telephony Project  18.5.0
Public Member Functions | Data Fields
ast_sip_transport Struct Reference

Transport to bind to. More...

#include <res_pjsip.h>

Collaboration diagram for ast_sip_transport:
Collaboration graph
[legend]

Public Member Functions

 SORCERY_OBJECT (details)
 

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
int allow_reload
 
unsigned int async_operations
 
const ast_string_field ca_list_file
 
const ast_string_field ca_list_path
 
const ast_string_field cert_file
 
pj_ssl_cipher ciphers [SIP_TLS_MAX_CIPHERS]
 
unsigned int cos
 
const ast_string_field domain
 
struct ast_sockaddr external_address
 
struct ast_dnsmgr_entryexternal_address_refresher
 
const ast_string_field external_media_address
 
const ast_string_field external_signaling_address
 
unsigned int external_signaling_port
 
int flow
 
pj_sockaddr host
 
struct ast_halocalnet
 
const ast_string_field password
 
const ast_string_field privkey_file
 
struct ast_sip_transport_statestate
 
int symmetric_transport
 
pjsip_tls_setting tls
 
unsigned int tos
 
enum ast_transport type
 
int write_timeout
 

Detailed Description

Transport to bind to.

Definition at line 171 of file res_pjsip.h.

Member Function Documentation

◆ SORCERY_OBJECT()

SORCERY_OBJECT ( details  )

Sorcery object details

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 191 of file res_pjsip.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 191 of file res_pjsip.h.

◆ allow_reload

int allow_reload

Allow reload

Definition at line 247 of file res_pjsip.h.

Referenced by transport_apply().

◆ async_operations

unsigned int async_operations

Number of simultaneous asynchronous operations

Definition at line 201 of file res_pjsip.h.

Referenced by transport_apply().

◆ ca_list_file

const ast_string_field ca_list_file

Certificate of authority list file

Definition at line 191 of file res_pjsip.h.

Referenced by ca_list_file_to_str(), transport_apply(), and transport_tls_file_handler().

◆ ca_list_path

const ast_string_field ca_list_path

Certificate of authority list path

Definition at line 191 of file res_pjsip.h.

Referenced by ca_list_path_to_str(), transport_apply(), and transport_tls_file_handler().

◆ cert_file

const ast_string_field cert_file

Public certificate file

Definition at line 191 of file res_pjsip.h.

Referenced by cert_file_to_str(), transport_apply(), and transport_tls_file_handler().

◆ ciphers

pj_ssl_cipher ciphers[SIP_TLS_MAX_CIPHERS]
Deprecated:
Moved to ast_sip_transport_state
Version
13.7.1 deprecated Configured TLS ciphers

Definition at line 215 of file res_pjsip.h.

Referenced by copy_state_to_transport(), and tls_method_to_str().

◆ cos

unsigned int cos

QOS COS value

Definition at line 243 of file res_pjsip.h.

Referenced by cli_print_body(), set_qos(), and transport_apply().

◆ domain

Optional domain to use for messages if provided could not be found

Definition at line 191 of file res_pjsip.h.

Referenced by anonymous_identify(), and find_endpoint().

◆ external_address

struct ast_sockaddr external_address
Deprecated:
Moved to ast_sip_transport_state
Version
13.7.1 deprecated Optional external address information

Definition at line 233 of file res_pjsip.h.

Referenced by copy_state_to_transport().

◆ external_address_refresher

struct ast_dnsmgr_entry* external_address_refresher
Deprecated:
Moved to ast_sip_transport_state
Version
13.7.1 deprecated DNS manager for refreshing the external address

Definition at line 227 of file res_pjsip.h.

Referenced by copy_state_to_transport().

◆ external_media_address

const ast_string_field external_media_address

External media address

Definition at line 191 of file res_pjsip.h.

Referenced by session_outgoing_nat_hook(), and transport_apply().

◆ external_signaling_address

const ast_string_field external_signaling_address

External signaling address

Definition at line 191 of file res_pjsip.h.

Referenced by copy_state_to_transport(), and transport_apply().

◆ external_signaling_port

unsigned int external_signaling_port

Optional external port for signaling

Definition at line 203 of file res_pjsip.h.

◆ flow

int flow

This is a flow to another target

Definition at line 251 of file res_pjsip.h.

Referenced by ast_sip_set_tpselector_from_transport(), transport_apply(), transport_protocol_handler(), and transport_protocol_to_str().

◆ host

pj_sockaddr host
Deprecated:
Moved to ast_sip_transport_state
Version
13.8.0 deprecated Address and port to bind to

Definition at line 199 of file res_pjsip.h.

Referenced by copy_state_to_transport(), and Registration::write().

◆ localnet

struct ast_ha* localnet
Deprecated:
Moved to ast_sip_transport_state
Version
13.7.1 deprecated Optional local network information, used for NAT purposes

Definition at line 221 of file res_pjsip.h.

Referenced by copy_state_to_transport().

◆ password

const ast_string_field password

Password to open the private key

Definition at line 191 of file res_pjsip.h.

Referenced by transport_apply().

◆ privkey_file

const ast_string_field privkey_file

Optional private key of the certificate file

Definition at line 191 of file res_pjsip.h.

Referenced by privkey_file_to_str(), transport_apply(), and transport_tls_file_handler().

◆ state

Deprecated:
Version
13.7.1 deprecated Transport state information

Definition at line 239 of file res_pjsip.h.

Referenced by copy_state_to_transport(), internal_state_alloc(), and transport_apply().

◆ symmetric_transport

int symmetric_transport

Automatically send requests out the same transport requests have come in on

Definition at line 249 of file res_pjsip.h.

Referenced by on_rx_process_symmetric_transport().

◆ tls

pjsip_tls_setting tls
Deprecated:
Moved to ast_sip_transport_state
Version
13.7.1 deprecated TLS settings

Definition at line 209 of file res_pjsip.h.

Referenced by copy_state_to_transport().

◆ tos

unsigned int tos

QOS DSCP TOS bits

Definition at line 241 of file res_pjsip.h.

Referenced by cli_print_body(), set_qos(), tos_to_str(), transport_apply(), and transport_tos_handler().

◆ type

enum ast_transport type

◆ write_timeout

int write_timeout

Write timeout

Definition at line 245 of file res_pjsip.h.

Referenced by get_write_timeout().


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