Commit graph

674 commits

Author SHA1 Message Date
Ghislain MARY
612e63f684 Fix build on Windows. 2017-02-07 18:14:30 +01:00
Ghislain MARY
cd4870d5ad Some refactoring to have a more object-oriented API. 2017-02-07 15:32:42 +01:00
Ghislain MARY
50f4e52966 Store chat message in database before file upload so that if the file upload fails we can try sending the chat message an other time. 2017-02-03 15:29:40 +01:00
Benjamin Reis
b669640847 Add message_received_unable_decrypt callback 2017-02-01 15:36:01 +01:00
Benjamin Reis
31d5d90ca9 add is_secured API to LinphoneChatMessage 2017-02-01 12:10:59 +01:00
Simon Morlat
61c5137594 integrate new bandwidth control algorithm 2017-02-01 11:01:25 +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
Simon Morlat
d2dd8fd389 fix bug when setting up tone files for tone ids. Update ms2 and ortp for jitter buffer improvements. 2017-01-25 17:45:54 +01:00
Benjamin Reis
eea35502de add friends_map to friend list and change find_friend_by_ref_key 2017-01-19 15:05:02 +01:00
François Grisez
dee29cb0d6 Make presence objects implements belle_sip_object_t interface 2017-01-18 11:35:50 +01:00
François Grisez
8419375aee Make LiphoneConfig inherite from belle_sip_object 2017-01-13 16:02:20 +01:00
François Grisez
85b5ca097a Reworking of Liblinphone API
* Introduction of LinphoneFactory singleton class to create
  core-independent object like LinphoneAddress or LinphoneVcard.
* Make several C structures inherite from belle_sip_object_t class:
	* LinphoneCore
	* LinphoneVcard
	* LinphoneAuthInfo
* Creation of the LinphoneCoreCbs class that enable to store the
  callbacks used by LinphoneCore.
2017-01-12 17:47:01 +01:00
Ghislain MARY
9fa30c5c20 Handle error cases in IMDN notifications. 2017-01-09 16:55:16 +01:00
Ghislain MARY
e34327f58f Handle IM notification policy. 2017-01-03 14:56:56 +01:00
Ghislain MARY
6e37c97cb5 Add the LinphoneImNotifPolicy object to configure whether to display/send IM notifications (is_composing, message delivered, message displayed). 2017-01-03 14:56:17 +01:00
Ghislain MARY
7889b0610b Store weak references of chat messages in the chat room to be able to returned the same LinphoneChatMessage object to the application. 2017-01-03 14:56:17 +01:00
Ghislain MARY
410f5b9e1c Revert message callbacks moved to LinphoneChatRoom instead of LinphoneChatMessage. 2017-01-03 14:56:17 +01:00
Ghislain MARY
9867c2fee7 Send and receive imdn. 2017-01-03 14:56:17 +01:00
Benjamin Reis
cb4c3fd694 Add background task for file transfer 2017-01-02 16:59:20 +01:00
Ghislain MARY
6ee6437b21 Fix lime. 2016-12-20 12:38:55 +01:00
Ghislain MARY
563bb427b0 Fix IM encryption engine for automatic wrapper generation. 2016-12-19 11:56:37 +01:00
Sylvain Berfini
a1d5ed8ca9 Allow IM Encryption Engine to return a custom code upon reception of a composing message 2016-12-06 10:30:21 +01:00
Sylvain Berfini
9a26b72164 Merge remote-tracking branch 'private/dev_im_encryption_engine' 2016-12-01 11:12:10 +01:00
Ghislain MARY
26aa71233c Build linphone-daemon on Windows. 2016-11-28 17:30:25 +01:00
Ghislain MARY
07f8f0ac8e ringtoneplayer.h needs to be public. 2016-11-15 15:56:57 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Sylvain Berfini
3214b4371a Reworked im encryption engine to be at linphone level instead of sal level 2016-11-10 14:33:04 +01:00
Sylvain Berfini
e8258de05b Merge remote-tracking branch 'origin/master' into dev_im_encryption_engine 2016-11-09 18:00:43 +01:00
Benjamin Reis
eb35e05943 add callbacks to previsous commit 2016-11-08 10:51:57 +01:00
Benjamin Reis
a95e3ce0fe Change your password in linphone settings 2016-11-08 10:33:46 +01:00
Sylvain Berfini
2c905e4cde Started im encryption engine, process incoming message with lime seems to work 2016-11-04 12:02:23 +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
Simon Morlat
cceca72237 Fix crash when a reINVITE receives a 481 response. 2016-10-21 20:55:01 +02:00
Simon Morlat
ba94faf38a fix crash in tests due to calling linphone_core_accept_call_update() within the CallUpdatedByRemote notification. 2016-10-21 09:24:14 +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
Simon Morlat
2af20c28af clean compatibility code (in the hope of fixing a memory leak) 2016-10-18 15:48:15 +02:00
Ghislain MARY
e50961a8ff Merge branch 'master' into dev_rat 2016-10-18 11:06:03 +02:00
Simon Morlat
565f83f13d improve and fix management of REGISTER in LinphoneProxyConfig 2016-10-14 18:59:54 +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
Sylvain Berfini
8958eaa2b5 Updated account creator to use language and domain parameters 2016-10-12 10:26:23 +02:00
Erwan Croze
ceabf26451 Add xmlrpc request for is_phone_number_used 2016-10-11 14:06:38 +02:00
Simon Morlat
219f5dbf07 fix memory leak in quality reporting 2016-10-11 11:01:12 +02:00
Ghislain MARY
0a4084bc4a Merge branch 'master' into dev_rat 2016-10-11 09:58:10 +02:00
Simon Morlat
e3570d9edd fix regressions due to last commit 2016-10-08 18:10:43 +02:00
Erwan Croze
a5cdc5953c Add status if an account is linked + JNI 2016-10-07 17:23:56 +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
Ghislain MARY
0dee175561 Restore symmetric RTP setting if the ICE session gets deleted during a call. 2016-09-30 16:43:55 +02:00
Simon Morlat
690f2aa182 robustize account creator and xmlrpc session 2016-09-30 16:07:01 +02:00
Jehan Monnier
a143948e26 rework list subscription activation.
-suscription list is now activated either if and rls server is set on a friend list or if the configuration parameter [sip],rls_uri is set.
2016-09-30 08:57:45 +02:00