Asterisk - The Open Source Telephony Project GIT-master-3dae2cf
|
Structure for SIP transport information. More...
#include <res_pjsip.h>
Data Fields | |
int | allow_wildcard_certs |
pj_ssl_cipher | ciphers [SIP_TLS_MAX_CIPHERS] |
struct ast_sockaddr | external_media_address |
struct ast_dnsmgr_entry * | external_media_address_refresher |
struct ast_sockaddr | external_signaling_address |
struct ast_dnsmgr_entry * | external_signaling_address_refresher |
struct pjsip_tpfactory * | factory |
Transport factory. More... | |
int | flow |
pj_sockaddr | host |
char * | id |
struct ast_ha * | localnet |
char * | preferred_identity |
struct ast_sip_service_route_vector * | service_routes |
pjsip_tls_setting | tls |
struct pjsip_transport * | transport |
Transport itself. More... | |
enum ast_transport | type |
int | verify_server |
Structure for SIP transport information.
Definition at line 116 of file res_pjsip.h.
int allow_wildcard_certs |
Disregard RFC5922 7.2, and allow wildcard certs (TLS only)
Definition at line 192 of file res_pjsip.h.
pj_ssl_cipher ciphers[SIP_TLS_MAX_CIPHERS] |
Configured TLS ciphers
Definition at line 145 of file res_pjsip.h.
Referenced by find_or_create_temporary_state().
struct ast_sockaddr external_media_address |
Optional external signaling address information
Definition at line 173 of file res_pjsip.h.
struct ast_dnsmgr_entry* external_media_address_refresher |
DNS manager for refreshing the external media address
Definition at line 168 of file res_pjsip.h.
Referenced by destroy_sip_transport_state().
struct ast_sockaddr external_signaling_address |
Optional external signaling address information
Definition at line 163 of file res_pjsip.h.
struct ast_dnsmgr_entry* external_signaling_address_refresher |
DNS manager for refreshing the external signaling address
Definition at line 158 of file res_pjsip.h.
Referenced by destroy_sip_transport_state().
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().
int flow |
Set when this transport is a flow of signaling to a target
Definition at line 178 of file res_pjsip.h.
Referenced by ast_sip_get_transport_state(), ast_sip_message_apply_transport(), ast_sip_set_tpselector_from_transport(), ast_sip_transport_state_set_preferred_identity(), ast_sip_transport_state_set_service_routes(), ast_sip_transport_state_set_transport(), and get_udp_transport().
pj_sockaddr host |
Address and port to bind to
Definition at line 135 of file res_pjsip.h.
Referenced by create_rtp(), t38_initialize_session(), and Registration::write().
char* id |
Transport id
Definition at line 125 of file res_pjsip.h.
Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), Section::__lt__(), anonymous_identify(), destroy_sip_transport_state(), find_endpoint(), find_or_create_temporary_state(), get_write_timeout(), Model::load(), and transport_state_cmp().
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.
Definition at line 153 of file res_pjsip.h.
Referenced by destroy_sip_transport_state().
char* preferred_identity |
The P-Preferred-Identity to use on traffic using this transport
Definition at line 183 of file res_pjsip.h.
Referenced by ast_sip_message_apply_transport(), and ast_sip_transport_state_set_preferred_identity().
struct ast_sip_service_route_vector* service_routes |
The Service Routes to use on traffic using this transport
Definition at line 188 of file res_pjsip.h.
Referenced by ast_sip_message_apply_transport(), and ast_sip_transport_state_set_service_routes().
pjsip_tls_setting tls |
TLS settings
Definition at line 140 of file res_pjsip.h.
Referenced by find_or_create_temporary_state(), and transport_apply().
struct pjsip_transport* transport |
Transport itself.
Definition at line 118 of file res_pjsip.h.
Referenced by ast_sip_get_transport_state(), ast_sip_rewrite_uri_to_local(), ast_sip_set_tpselector_from_transport(), ast_sip_set_tpselector_from_transport_name(), ast_sip_transport_state_set_transport(), copy_state_to_transport(), create_dialog_uas(), create_rtp(), destroy_sip_transport_state(), find_or_create_temporary_state(), find_state_by_transport(), find_transport_state_in_use(), format_ami_endpoint_transport(), get_udp_transport(), sip_transport_to_ami(), t38_initialize_session(), transport_state_init(), and transport_tls_verify().
enum ast_transport type |
Transport type
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().
int verify_server |
If true, fail if server certificate cannot verify (TLS only)
Definition at line 196 of file res_pjsip.h.