174 Commits

Author SHA1 Message Date
Aymeric Moizard
80dc9cc38e [subscription] update expires from int to uint32_t in order to reach the maximum allowed value from rfc. 2024-05-28 12:33:45 +02:00
Aymeric Moizard
f8719853e4 [authentication] fix support for multi authentication for NICT transaction and improve authentication cache table management 2023-11-20 22:10:50 +01:00
Aymeric Moizard
27a16871bb [randomness] improve randomness for call-id/branch/tag + API eXosip_generate_random 2023-06-19 15:13:26 +02:00
Aymeric Moizard
293f17631e [spelling] fix spelling in comment [no change] 2023-02-10 12:37:16 +01:00
Aymeric Moizard
a5a18be776 [dns] add family in dns cache info to avoid wrong dns resolution when family is modified 2022-06-22 14:32:23 +02:00
Aymeric Moizard
5245d40a1a [so_mark] add OPTION to set SO_MARK on UDP/TCP/TLS outgoing sockets 2022-04-06 12:18:32 +02:00
Aymeric Moizard
07f355d678 [API] new eXosip_call_terminate_with_headers to add several headers in BYE [better prototype] 2022-03-05 10:24:03 +01:00
Aymeric Moizard
22c1e26e47 [API] new eXosip_call_terminate_with_headers to add several headers in BYE 2022-03-04 14:12:17 +01:00
Aymeric Moizard
962550fe22 [EXOSIP_OPT_SET_CONTACT_DIALOG_EXTRA_PARAMS] new option to set Contact parameters in request/answers dialogs 2021-06-23 17:59:00 +02:00
Aymeric Moizard
a96d7a7d0a * ABI update: modification of "eXosip_tls_ctx_t"
extend the structure to set
 - cipher list
 - add TLS openssl flags (to disable TLSv1, TLSv1.1, etc...)
 - add DTLS openssl flags (to disable DTLSv1, etc...)
2020-10-21 23:00:10 +02:00
Aymeric Moizard
316f033f2e new option to force reusing established socket for ACK and dialog message
Signed-off-by: Aymeric Moizard <amoizard@gmail.com>
2020-08-25 17:49:28 +02:00
Aymeric Moizard
21b953dfd9 fix EXOSIP_OPT_ENABLE_IPV6 documentation 2020-07-25 13:10:39 +02:00
Aymeric Moizard
b40e00422b new format style using clang-format
Signed-off-by: Aymeric Moizard <amoizard@gmail.com>
2020-07-23 19:33:18 +02:00
Aymeric Moizard
e83393e150 tsc support: removed
I haven't heard of anyone using this.
 The implementation should have been made outside the eXtl_udp.c file.

Signed-off-by: Aymeric Moizard <amoizard@gmail.com>
2020-06-24 19:08:57 +02:00
Aymeric Moizard
8e4e83a7f4 * new indentation with astyle - remove usage of indent
Signed-off-by: Aymeric Moizard <amoizard@gmail.com>
2020-06-23 19:46:53 +02:00
Ay Moizard
727ec7058e fix warning (rename parameter same as documentation
Signed-off-by: Ay Moizard <amoizard@gmail.com>
2020-02-26 17:54:52 +01:00
Aymeric Moizard
3ca8934dc9 update Copyright to 2020 2020-01-16 20:45:49 +01:00
Aymeric Moizard
ba84eea7c5 fix declaration of eXosip_hexa_generate_random (again) 2020-01-16 19:17:16 +01:00
Aymeric Moizard
10f9d22e2c fix declaration of eXosip_hexa_generate_random 2020-01-16 18:34:21 +01:00
Aymeric Moizard
6dc4f0f18d add useful API to generate higher entropy keys 2019-11-19 17:28:27 +01:00
Aymeric Moizard
c89e3c1840 fix file mode 2019-09-27 16:37:07 +02:00
Aymeric Moizard
da1b95a608 indent all files before newer version 2019-03-28 16:53:40 +01:00
Aymeric Moizard
f81f63b8e8 use newer osip_naptr & osip_srv_record structures to hold ENUM sip result and improvements to retreive (and release) it via eXosip_dnsutils_naptr and eXosip_dnsutils_release API 2018-05-05 16:45:08 +02:00
Aymeric Moizard
c53f93d00b ssl: password for private key is optional // add support for public key pinning 2018-03-08 13:10:46 +01:00
Aymeric Moizard
101574b93c improve ssl client setup according to config / do not add client.cert into CA store 2018-03-08 10:51:51 +01:00
Aymeric Moizard
2295915f24 add an API to insert one extra header in BYE 2018-03-06 13:42:21 +01:00
Aymeric Moizard
f1bab92dd6 add EXOSIP_OPT_SET_SESSIONTIMERS_FORCE option to force session timer to be used when remote side does not support it 2017-01-05 13:39:23 +01:00
Aymeric Moizard
5280b2c02d update eXosip_call_build_ack/eXosip_call_send_ack API to use tid instead of did as parameter (did still works for compatibility) 2016-12-13 11:04:30 +01:00
Aymeric Moizard
b48d4e1d9e improve doxygen documentation 2016-04-26 13:18:15 +02:00
Aymeric Moizard
f2c99b98a8 add EXOSIP_OPT_SET_DEFAULT_CONTACT_DISPLAYNAME: define a display name to be added in Contact headers 2016-03-25 10:40:37 +01:00
Aymeric Moizard
92890c3695 Dev for high load and performance:
* EXOSIP_OPT_SET_MAX_MESSAGE_TO_READ: set the number of message to read at once for each network processing.
 * EXOSIP_OPT_SET_MAX_READ_TIMEOUT: set the period in nano seconds during we read for sip message.
 * EXOSIP_OPT_GET_STATISTICS: retreive numerous statistics.
 * optimize all loops by using osip iterator to improve performance.

 Improve autotools, ./configure, Makefile.am
 * modify --enable-pthread options (sync with osip)
 * modify --enable-semaphore options (sync with osip)
 * better order of link/flags, avoid duplicate at compile/link time
 * rename -DHAVE_CARES_H to -DHAVE_ARES_H (real name of head)
2016-03-08 16:39:22 +01:00
Aymeric Moizard
b9645e2764 add options to use +sip.instance in Contact header 2016-02-04 16:24:11 +01:00
Aymeric Moizard
ef35f46cf3 modification to MINISIZE // if a SUBSCRIBE is rejected, the context will be released automatically 2016-02-04 12:04:58 +01:00
Aymeric Moizard
0b7aaeb5ed new option EXOSIP_OPT_REMOVE_PREROUTESET to keep Route // force message rebuild if port or ip was modified in Via/Contact 2015-10-27 00:46:40 +01:00
Aymeric Moizard
d34d011fe7 fix wording of comment 2015-10-06 18:15:32 +02:00
Aymeric Moizard
607f4290db MODIFY PROTOTYPE of eXosip_call_build_prack in order to generate the PRACK for a specific response. If several answer are received at the same time, the one that require PRACK may have been already replaced by the new one. 2015-09-22 09:42:46 +02:00
Aymeric Moizard
5bcb6f593f add new EXOSIP_OPT_SET_OC_LOCAL_ADDRESS and EXOSIP_OPT_SET_OC_PORT_RANGE option to create new outgoing on a specific IP (TLS and TCP) 2015-07-29 02:20:13 +02:00
Aymeric Moizard
e184ee7d68 support for adding the ob parameter (outbound support from rfc5626)
support for routing based on the incoming ob parameter (outbound support from rfc5626)
 require latest osip version
2015-07-20 12:42:01 +02:00
Aymeric Moizard
2452de18f0 start updating to version 5.0.0 2015-07-14 19:35:46 +02:00
Aymeric Moizard
a75bf2e122 update copyrights 2015-07-13 13:57:55 +02:00
Aymeric Moizard
d01684149a initial commit for libeXosip2 5.0.0
Major update for REFER APIs, managed as SUBSCRIBE
"subscribe" APIs renamed to "subscription"
Remove obsolete APIs:
 eXosip_automatic_refresh
 eXosip_refer_build_request
 eXosip_refer_send_request
Update APIs to return "transaction id":
 eXosip_options_send_request
 eXosip_publish
Update logs
2015-07-13 12:56:45 +02:00
Aymeric Moizard
0e87b645e6 declare CbSipCallback and CbSipWakeLockas as __stdcall on WIN32 2015-06-29 08:57:36 +02:00
Aymeric Moizard
417c4fc99f add a callback to simplify/optimize/accelerate usage of wakelocks in android application using exosip2 2015-06-18 16:29:15 +02:00
Aymeric Moizard
2549e421c1 add option to use/not use ephemeral port in Contact // fix to avoid handling negative content-length 2014-12-03 19:25:24 +01:00
Aymeric Moizard
ffa92ce941 add simple way to insert a reason header in BYE, CANCEL and negative answer to INVITE 2014-06-27 13:40:39 +02:00
Aymeric Moizard
ae4085e5d3 add option to reuse port 2014-03-29 22:46:27 +01:00
Aymeric Moizard
9eca1902ad improve the ability to automasquerade contact for registration procedure 2014-01-31 18:38:00 +01:00
Aymeric Moizard
23772fe7b8 fix comments 2013-11-26 15:58:52 +01:00
Aymeric Moizard
b54d6d134c fix compilation without multithread 2013-11-14 11:43:38 +01:00
Aymeric Moizard
ff8d5b5c07 some work on IPv4/IPv6 and multi-transport protocol 2013-10-08 18:28:45 +02:00