Wed Mar 3 23:20:28 2010

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, this is allocated in the SIP peer dynamically or statically as the global_outboundproxy. The pointer in a SIP message is just a pointer and should *not* be de-allocated.

Definition at line 479 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 484 of file chan_sip.c.

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

struct sockaddr_in ip [read]

Currently used IP address and port

Definition at line 481 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 482 of file chan_sip.c.

Referenced by proxy_update().

char name[MAXHOSTNAMELEN]

DNS name of domain/host or IP

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

Generated on 3 Mar 2010 for Asterisk - the Open Source PBX by  doxygen 1.6.1