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 707 of file sip.h.


Field Documentation

int force

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

Definition at line 713 of file sip.h.

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

struct ast_sockaddr ip [read]

Currently used IP address and port

Definition at line 709 of file sip.h.

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

When this was resolved

Definition at line 711 of file sip.h.

Referenced by proxy_update().

char name[MAXHOSTNAMELEN]

DNS name of domain/host or IP

Definition at line 708 of file sip.h.

Referenced by _sip_show_peer(), obproxy_get(), proxy_from_config(), proxy_update(), and sip_show_settings().

int port

Definition at line 710 of file sip.h.

Referenced by proxy_from_config(), and proxy_update().

Definition at line 712 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:

Generated on Thu Apr 16 06:37:24 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6