Asterisk - The Open Source Telephony Project GIT-master-a358458
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
 
int tcp_keepalive_enable
 
int tcp_keepalive_idle_time
 
int tcp_keepalive_interval_time
 
int tcp_keepalive_probe_count
 
pjsip_tls_setting tls
 
unsigned int tos
 
enum ast_transport type
 
int write_timeout
 

Detailed Description

Transport to bind to.

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

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Certificate of authority list file

Certificate of authority list path

Public certificate file

Optional private key of the certificate file

Password to open the private key

External signaling address

External media address

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

Definition at line 241 of file res_pjsip.h.

◆ allow_reload

int allow_reload

Allow reload

Definition at line 297 of file res_pjsip.h.

Referenced by transport_apply().

◆ async_operations

unsigned int async_operations

Number of simultaneous asynchronous operations

Definition at line 251 of file res_pjsip.h.

Referenced by transport_apply().

◆ ca_list_file

const ast_string_field ca_list_file

Definition at line 241 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

Definition at line 241 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

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

◆ cos

unsigned int cos

QOS COS value

Definition at line 293 of file res_pjsip.h.

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

◆ domain

const ast_string_field domain

Definition at line 241 of file res_pjsip.h.

Referenced by anonymous_identify(), find_endpoint(), and Registration::write().

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

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

◆ external_media_address

const ast_string_field external_media_address

Definition at line 241 of file res_pjsip.h.

Referenced by session_outgoing_nat_hook(), and transport_apply().

◆ external_signaling_address

const ast_string_field external_signaling_address

Definition at line 241 of file res_pjsip.h.

Referenced by transport_apply().

◆ external_signaling_port

unsigned int external_signaling_port

Optional external port for signaling

Definition at line 253 of file res_pjsip.h.

◆ flow

int flow

This is a flow to another target

Definition at line 301 of file res_pjsip.h.

Referenced by 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 249 of file res_pjsip.h.

Referenced by 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 271 of file res_pjsip.h.

◆ password

const ast_string_field password

Definition at line 241 of file res_pjsip.h.

Referenced by transport_apply().

◆ privkey_file

const ast_string_field privkey_file

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

Referenced by 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 299 of file res_pjsip.h.

Referenced by on_rx_process_symmetric_transport().

◆ tcp_keepalive_enable

int tcp_keepalive_enable

Enable TCP keepalive

Definition at line 303 of file res_pjsip.h.

Referenced by transport_apply().

◆ tcp_keepalive_idle_time

int tcp_keepalive_idle_time

Time in seconds the connection needs to remain idle before TCP starts sending keepalive probes

Definition at line 305 of file res_pjsip.h.

Referenced by transport_apply().

◆ tcp_keepalive_interval_time

int tcp_keepalive_interval_time

The time in seconds between individual keepalive probes

Definition at line 307 of file res_pjsip.h.

Referenced by transport_apply().

◆ tcp_keepalive_probe_count

int tcp_keepalive_probe_count

The maximum number of keepalive probes TCP should send before dropping the connection

Definition at line 309 of file res_pjsip.h.

Referenced by transport_apply().

◆ tls

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

Definition at line 259 of file res_pjsip.h.

◆ tos

unsigned int tos

QOS DSCP TOS bits

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

Referenced by get_write_timeout().


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