Commit graph

220 commits

Author SHA1 Message Date
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Ghislain MARY
b7658734f0 Handle TTL in DNS responses. 2017-07-19 10:27:04 +02:00
Simon Morlat
e4149d19a8 Add LinphoneCall callback to be notified about ACKs, in order to be able to add custom headers in sent ACKs and read custom headers in received ACKs. 2017-06-26 22:49:15 +02:00
Ghislain MARY
0e5f5378b5 Add missing symbol export. 2017-06-15 17:03:54 +02:00
Nicolas Follet
1e8abd208d add uri header getter in LinphoneAddress 2017-06-07 17:32:29 +02:00
Benjamin Reis
5d566fcc32 Add reason header to CANCEL and add tests for reason headers 2017-06-05 10:29:40 +02:00
Sandrine Avakian
710c416e0a Merge commit '77913a3c5e3aace6ab48b78383c011d50c6bec3c' into dev_loc
# Conflicts:
#	coreapi/bellesip_sal/sal_op_call.c
#	coreapi/callbacks.c
#	mediastreamer2
#	oRTP
2017-04-04 14:50:10 +02:00
Simon Morlat
e0def942a9 Report call logs for calls aborted before they are notified to the application. 2017-04-03 15:31:13 +02:00
Sandrine Avakian
92c8c0e4da First commit for decline call with reason header support 2017-04-03 14:31:53 +02:00
Sandrine Avakian
ad337fffef Adding new API int linphone_call_terminate_with_error_info(LinphoneCall *call, const LinphoneErrorInfo *ei) and other functions to handle RFC3326 reason header. 2017-03-27 15:27:42 +02:00
Simon Morlat
95098f055a Make LinphoneErrorInfo a belle-sip object. Add new accessors, and make it able to take Reason headers in incoming requests (feature to be tested) 2017-03-22 14:45:24 +01:00
Ghislain MARY
6735f6e731 Correct definition of LINPHONE_PUBLIC on Windows. 2017-02-01 12:16:24 +01:00
Ghislain MARY
b297a4cb1d Rework chat handling.
- Add content type information in LIME encrypted message
 - Single entry point for all types of chat messages that are first decrypted if necessary and then handled according to their content type
 - Add possibility to send chat messages with a content type that is not 'text/plain'
 - Encrypt IMDN
2017-01-31 12:25:12 +01:00
Ghislain MARY
9867c2fee7 Send and receive imdn. 2017-01-03 14:56:17 +01:00
Sylvain Berfini
b45e6dcc8d Added remove custom header method for chat message + test 2016-11-14 11:39:10 +01:00
Ghislain MARY
cadf505786 Add specific callback to perform action (in this case re-INVITE) on cancel response. 2016-10-24 14:27:45 +02:00
Ghislain MARY
21c32fb781 Fix missing symbol exports for Windows build. 2016-10-20 14:31:33 +02:00
Ghislain MARY
871984b4ee Merge branch 'dev_rat' 2016-10-19 10:29:27 +02:00
Simon Morlat
a5a65227b3 Repair multicast when ipv6 is enabled. 2016-10-18 23:10:21 +02:00
Ghislain MARY
e50961a8ff Merge branch 'master' into dev_rat 2016-10-18 11:06:03 +02:00
Simon Morlat
3dcb23ac8d fix potential memory leak of stun server resolver context 2016-10-14 14:21:21 +02:00
Ghislain MARY
d5d0f39517 Implement section 5.5 of RFC 6141, recover from UAC connection loss during re-INVITE. 2016-10-13 14:52:09 +02:00
Ghislain MARY
1fce1b1581 Repair call where a connection loss occurs on the caller side by sending a new INVITE with a Replaces header. 2016-09-30 16:55:47 +02:00
Ghislain MARY
73539fefa1 Try to repair calls in early state when a network loss occurs. 2016-09-30 16:55:47 +02:00
Simon Morlat
d04be099a2 Robustize LinphoneEvent api, fix memory leaks and crashes in error conditions.
Add new tests.
2016-09-30 00:39:57 +02:00
Jehan Monnier
b4e51b12da expose diversion header at call level 2016-09-28 14:50:06 +02:00
Ghislain MARY
5aa030d578 Replace sal_op_is_ipv6() by sal_op_get_address_family().
This is necessary because in some cases the op cannot tell whether it is IPv6 or IPv4. And in such cases we can fallback to an other method to get the information (get_local_ip_for()).
2016-09-26 17:59:40 +02:00
Sylvain Berfini
2af5925e6f Added API to set RootCA by buffer instead of file 2016-09-20 14:20:52 +02:00
Sylvain Berfini
f575f94bb4 Added methods to set TLS certificate/key on LinphoneAuthInfo + updated auth_info_requested callback 2016-09-20 12:44:43 +02:00
Simon Morlat
1bc6f63db2 media_localip is guessed from signaling using call->dest_proxy. This ease the use of liblinphone on a machine with two interfaces (typically a one being a vpn).
Clean things around sal.c and sal_impl.c
2016-09-06 11:16:10 +02:00
Ghislain MARY
0af986526d Add more address API. 2016-07-29 11:09:45 +02:00
Ghislain MARY
dd6f88691d Extend address API to handle parameters. 2016-07-29 11:09:45 +02:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Ghislain MARY
69dcbe7de5 Fix build with Visual Studio. 2016-07-21 17:52:35 +02:00
Ghislain MARY
5dc6c5cb10 Add API and config parameter to enable/disable DNS search. 2016-07-13 13:45:05 +02:00
Ghislain MARY
fc1fed70fe Merge branch 'master' into dev_turn 2016-06-01 14:56:52 +02:00
Simon Morlat
e4c674c2e3 implement the sending of out-of-dialog NOTIFYs, and add non-regression test
This fixes a crash producing all the time when receiving such out-of-dialog NOTIFY.
2016-05-27 23:03:05 +02:00
Ghislain MARY
e224761160 Handle DNS SRV resolution of STUN server. 2016-05-20 10:50:54 +02:00
Simon Morlat
62703c016c robustize IPv6 support for heterogenous cases.
Also, the RTP sockets are now always IPv6 when ipv6 is enabled in LinphoneCore,
independently of what is finally proposed in SDP, so that these sockets can always send and recv
with both versions.
This is consistent with what is already done in belle-sip for SIP sockets.
2016-05-12 23:33:33 +02:00
Jehan Monnier
026bbe8db3 Implement support of dialog created by Notify matching subscription 2016-05-11 14:54:38 +02:00
François Grisez
29230187e1 Exports sal_op_get_error_info() on Windows 2016-04-25 14:54:00 +02:00
Johan Pascal
0a0f714cdd improve ZRTP hash management
- start ZRTP on incoming zrtp-hash even when not selected locally
2016-04-15 11:46:43 +02:00
Johan Pascal
70a429cdff Merge branch 'master' into zrtphash
Conflicts:
	coreapi/linphonecall.c
2016-04-11 10:57:11 +02:00
Johan Pascal
02ebeac3f1 Manage zrtp-hash attribute
- ZRTP engine is always initialised even when not selected
2016-04-11 10:54:53 +02:00
Sylvain Berfini
889c2e1974 Added method to configure ssl_config for sal and http provider 2016-03-23 16:23:03 +01:00
Jehan Monnier
966c7caa2d -fix many memory leak
-unsubscribe in linphone_core_uninit
2016-03-10 18:58:44 +01:00
Gautier Pelloux-Prayer
a2ded09c90 headers: export some symbols for windows 2016-03-08 11:01:15 +01:00
Sylvain Berfini
29592e0670 Merge branch 'master' into dev_vcard 2016-02-24 16:52:11 +01:00
Ghislain MARY
f9eaa1a0f1 Handle body compression for presence list. 2016-02-19 15:14:28 +01:00
Sylvain Berfini
235dca249d Merge branch 'master' into dev_vcard
Conflicts:
	build/android/Android.mk
	coreapi/private.h
	java/common/org/linphone/core/LinphoneCore.java
	java/impl/org/linphone/core/LinphoneCoreImpl.java
2016-02-09 10:21:18 +01:00