eXosip2_conf(3) | libeXosip2 | eXosip2_conf(3) |
eXosip2_conf - eXosip2 configuration API
struct eXosip_dns_cache
struct eXosip_tls_credentials_s
struct eXosip_tls_ctx_s
#define EXOSIP_OPT_UDP_KEEP_ALIVE
(EXOSIP_OPT_BASE_OPTION+1)
#define EXOSIP_OPT_UDP_LEARN_PORT (EXOSIP_OPT_BASE_OPTION+2)
#define EXOSIP_OPT_USE_RPORT (EXOSIP_OPT_BASE_OPTION+7)
#define EXOSIP_OPT_SET_IPV4_FOR_GATEWAY (EXOSIP_OPT_BASE_OPTION+8)
#define EXOSIP_OPT_ADD_DNS_CACHE (EXOSIP_OPT_BASE_OPTION+9)
#define EXOSIP_OPT_DELETE_DNS_CACHE (EXOSIP_OPT_BASE_OPTION+10)
#define EXOSIP_OPT_SET_IPV6_FOR_GATEWAY (EXOSIP_OPT_BASE_OPTION+12)
#define EXOSIP_OPT_ADD_ACCOUNT_INFO (EXOSIP_OPT_BASE_OPTION+13)
#define EXOSIP_OPT_DNS_CAPABILITIES (EXOSIP_OPT_BASE_OPTION+14)
#define EXOSIP_OPT_SET_DSCP (EXOSIP_OPT_BASE_OPTION+15)
#define EXOSIP_OPT_REGISTER_WITH_DATE (EXOSIP_OPT_BASE_OPTION+16)
#define EXOSIP_OPT_SET_HEADER_USER_AGENT (EXOSIP_OPT_BASE_OPTION+17)
#define EXOSIP_OPT_ENABLE_DNS_CACHE (EXOSIP_OPT_BASE_OPTION+18)
#define EXOSIP_OPT_ENABLE_AUTOANSWERBYE (EXOSIP_OPT_BASE_OPTION+19)
#define EXOSIP_OPT_ENABLE_IPV6 (EXOSIP_OPT_BASE_OPTION+20)
#define EXOSIP_OPT_SET_TLS_VERIFY_CERTIFICATE
(EXOSIP_OPT_BASE_OPTION+500)
#define EXOSIP_OPT_SET_TLS_CERTIFICATES_INFO
(EXOSIP_OPT_BASE_OPTION+501)
#define EXOSIP_OPT_SET_TLS_CLIENT_CERTIFICATE_NAME
(EXOSIP_OPT_BASE_OPTION+502)
#define EXOSIP_OPT_SET_TLS_SERVER_CERTIFICATE_NAME
(EXOSIP_OPT_BASE_OPTION+503)
#define EXOSIP_OPT_SET_TSC_SERVER (EXOSIP_OPT_BASE_OPTION+1001)
enum eXosip_tls_ctx_error { TLS_OK = 0,
TLS_ERR_NO_RAND = -1, TLS_ERR_NO_DH_PARAM = -2,
TLS_ERR_NO_PW = -3, TLS_ERR_NO_ROOT_CA = -4,
TLS_ERR_MISSING_AUTH_PART = -5 }
struct eXosip_t * eXosip_malloc (void)
int eXosip_init (struct eXosip_t *excontext)
void eXosip_quit (struct eXosip_t *excontext)
int eXosip_lock (struct eXosip_t *excontext)
int eXosip_unlock (struct eXosip_t *excontext)
int eXosip_execute (struct eXosip_t *excontext)
int eXosip_set_option (struct eXosip_t *excontext, int opt, const void
*value)
struct osip_naptr * eXosip_dnsutils_naptr (struct eXosip_t *excontext,
const char *domain, const char *protocol, const char *transport, int
keep_in_cache)
int eXosip_dnsutils_dns_process (struct osip_naptr *output_record, int
force)
int eXosip_dnsutils_rotate_srv (struct osip_srv_record *output_record)
int eXosip_listen_addr (struct eXosip_t *excontext, int transport,
const char *addr, int port, int family, int secure)
int eXosip_reset_transports (struct eXosip_t *excontext)
int eXosip_set_socket (struct eXosip_t *excontext, int transport, int
socket, int port)
void eXosip_set_user_agent (struct eXosip_t *excontext, const char
*user_agent)
const char * eXosip_get_version (void)
int eXosip_set_cbsip_message (struct eXosip_t *excontext, CbSipCallback
cbsipCallback)
void eXosip_enable_ipv6 (int ipv6_enable)
void eXosip_masquerade_contact (struct eXosip_t *excontext, const char
*public_address, int port)
int eXosip_find_free_port (struct eXosip_t *excontext, int free_port,
int transport)
int *: interval for keep alive packets (UDP, TCP, TLS, DTLS)
int *: specific re-usage of 'rport'
int *: enable or disable rport in via
char *: usually, this is the proxy address
struct eXosip_dns_cache *: force some cache entry to avoid DNS
struct eXosip_dns_cache *: force removal of some cache entry to avoid DNS
char *: usually, this is the proxy address
struct eXosip_account_info *: internal stuff
int *: 0 to disable, 2 to use NAPTR/SRV record
int *: set a dscp value for SIP socket
int *: enable usage of Date header in REGISTER
char *: set the User-Agent header
int *: 0 to disable use of cache
int *: 0 to disable automatic answer of BYE
int *: 0 to disable -this is a per-eXosip_t parameter for using IPv6 DNS request
int *: enable verification of certificate for TLS connection
eXosip_tls_ctx_t *: client and/or server certificate/ca-root/key info
char*: user can choose a specific certifcate present in Windows Certificate Store
char*: user can choose a specific certifcate present in Windows Certificate Store
void*: set the tsc tunnel handle
An enumeration which describes the error which can occur while setting the eXosip_tls_ctx
Enumerator
Allocate an eXosip context.
Returns:
Initiate the eXtented oSIP library.
Parameters:
Release resource used by the eXtented oSIP library.
Parameters:
Lock the eXtented oSIP library.
Parameters:
UnLock the eXtented oSIP library.
Parameters:
Process (non-threaded mode ONLY) eXosip events.
Parameters:
Set eXosip options. See eXosip_option for available options.
Parameters:
Start and return osip_naptr context. Note that DNS results might not yet be available.
Parameters:
Continue to process asynchronous DNS request (if implemented).
Parameters:
Rotate first SRV entry to last SRV entry.
Parameters:
Listen on a specified socket.
Parameters:
Reset transport sockets.
Parameters:
Listen on a specified socket.
Parameters:
Set the SIP User-Agent: header string.
Parameters:
Get the eXosip version as a sring
Set a callback to get sent and received SIP messages.
Parameters:
Use IPv6 instead of IPv4. (global setting)
DEPRECATED: you MUST use EXOSIP_OPT_ENABLE_IPV6 to configure each eXosip_t independently.
THIS CODE DOES NOTHING, REPLACE WITH
eXosip_set_option(excontext, EXOSIP_OPT_ENABLE_IPV6, &val);
Parameters:
This method is used to replace contact address with the public address of your NAT. The ip address should be retreived manually (fixed IP address) or with STUN. This address will only be used when the remote correspondant appears to be on an DIFFERENT LAN.
Parameters:
If set to NULL, then the local ip address will be guessed automatically (returns to default mode).
This method is used to find out an free IPPROTO_UDP or IPPROTO_TCP port.
Parameters:
Generated automatically by Doxygen for libeXosip2 from the source code.
Thu Dec 15 2016 | Version 4.1.0 |