Thu Apr 28 2011 17:14:05

Asterisk developer's documentation


sip_proxy Struct Reference

definition of a sip proxy server More...

Data Fields

int force
struct sockaddr_in ip
time_t last_dnsupdate
char name [MAXHOSTNAMELEN]
enum sip_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 767 of file chan_sip.c.


Field Documentation

int force

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

Definition at line 772 of file chan_sip.c.

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

struct sockaddr_in ip

Currently used IP address and port

Definition at line 769 of file chan_sip.c.

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

When this was resolved

Definition at line 770 of file chan_sip.c.

Referenced by proxy_update().

char name[MAXHOSTNAMELEN]

DNS name of domain/host or IP

Definition at line 768 of file chan_sip.c.

Referenced by _sip_show_peer(), obproxy_get(), proxy_allocate(), proxy_update(), reload_config(), and sip_show_settings().

Definition at line 771 of file chan_sip.c.

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


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