Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
sip_proxy Struct Reference

definition of a sip proxy server More...

#include <sip.h>

Collaboration diagram for sip_proxy:
Collaboration graph
[legend]

Data Fields

int force
 
struct ast_sockaddr ip
 
time_t last_dnsupdate
 
char name [MAXHOSTNAMELEN]
 
int port
 
enum ast_transport transport
 

Detailed Description

definition of a sip proxy server

For outbound proxies, a sip_peer will contain a reference to a dynamically allocated instance of a sip_proxy. A sip_pvt may also contain a reference to a peer's outboundproxy, or it may contain a reference to the sip_cfg.outboundproxy.

Definition at line 721 of file sip.h.

Field Documentation

◆ force

int force

If it's an outbound proxy, Force use of this outbound proxy for all outbound requests

Definition at line 727 of file sip.h.

Referenced by __sip_ack(), _sip_show_peer(), proxy_from_config(), reload_config(), and sip_show_settings().

◆ ip

struct ast_sockaddr ip

Currently used IP address and port

Definition at line 723 of file sip.h.

Referenced by proxy_update(), send_request(), and sip_real_dst().

◆ last_dnsupdate

time_t last_dnsupdate

When this was resolved

Definition at line 725 of file sip.h.

Referenced by proxy_update().

◆ name

char name[MAXHOSTNAMELEN]

◆ port

int port

Definition at line 724 of file sip.h.

Referenced by proxy_from_config(), proxy_update(), and Registration::write().

◆ transport

enum ast_transport transport

Definition at line 726 of file sip.h.

Referenced by get_transport_pvt(), proxy_from_config(), and sip_prepare_socket().


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