Commit graph

451 commits

Author SHA1 Message Date
Sylvain Berfini
6d9af5fa54 Fix ref leak + renamed some functions + improved MSList handling 2015-09-08 14:54:28 +02:00
Sylvain Berfini
cabf15f1f5 Store call logs in sql database + new method to get all call logs related to a linphone address 2015-09-08 02:45:32 +02:00
Gautier Pelloux-Prayer
f46f1fbe77 linphonecall: LinphoneCoreCallStateChangedCb should never receive NULL as last argument "message" 2015-09-07 17:38:41 +02:00
Simon Morlat
b9c32d33a5 send presence to multiple instances of a same user that subscribed to us. Fixes memory leak. 2015-09-04 22:23:00 +02:00
Simon Morlat
0d87a22d1d fix bugs in Paused state management. It was possible to transition from Paused to PausedByRemote, which actually breaks the Paused state, and eventually allows the pauser to be resumed by the paused. 2015-09-03 21:39:58 +02:00
Simon Morlat
ed2385ce28 Refactoring of states, handling of media direction, late offering and so on.
Almost working except one test.
2015-09-03 21:39:58 +02:00
Simon Morlat
9f2b9df16a Revert "chat: fix crash when receiving message status notification AFTER having deleted the chat room"
This reverts commit 08e923a41c.
This commit breaks compilation.
2015-09-03 21:29:44 +02:00
Gautier Pelloux-Prayer
08e923a41c chat: fix crash when receiving message status notification AFTER having deleted the chat room 2015-09-03 17:07:52 +02:00
Simon Morlat
973627b165 adapt to new mediastreamer2, where big renaming occurs to fix incorrect function naming.
Fix an fopen(NULL) reported by valgrind.
2015-08-10 23:02:45 +02:00
Sylvain Berfini
d65b32ce09 Added displayName methods to account creator 2015-07-31 16:09:42 +02:00
Ghislain MARY
a5fdc283f7 The linphone_proxy_config_get_contact symbol needs to be exported for the tester. 2015-07-29 17:37:42 +02:00
François Grisez
2c63fa85b0 Fix crash due to libintl on Windows with Visual Studio 2015-07-29 17:25:47 +02:00
Jehan Monnier
2712cb4834 Clear pending tcp/tls address of record in case of network change. Very useful for legacy SIP server with no sip instance support and limited number of air. 2015-07-29 17:09:04 +02:00
Gautier Pelloux-Prayer
d9f41fff5a proxy config: modify linphone_proxy_config_get_contact and add linphone_proxy_config_get_identity_address returning LinphoneAddress and move all documentation to linphone_proxy_config.h 2015-07-29 13:26:53 +02:00
François Grisez
36eea822d2 Add a cache for unread messagaes count in LinphoneChatRoom
That fix a performance issue when typing a message. The sqlite database
was accessed each time a character was typed in order to mark all
preceeding messages as read. That was done even if all message was marked
as read.

This patch add cache for unread messages count. Then, the count is only carried out
at the first call of linphone_chat_room_get_unread_messages_count(). This function
is used in linphone_chat_room_mark_as_read() to prevent database from being accessed
if all messages are already marked as read.
2015-07-22 23:56:19 +02:00
Ghislain MARY
a8006a0160 Use void* for window ids. 2015-07-20 12:16:26 +02:00
François Grisez
74fa01a0e2 Define ENABLE_NLS instead of HAVE_INTL when internationalization is available 2015-07-07 14:04:39 +02:00
Ghislain MARY
8722f8a990 Add Visual Studio project for Windows 10. 2015-07-03 16:56:14 +02:00
Gautier Pelloux-Prayer
ea36261c80 build: rename HAVE_GETTEXT with HAVE_INTL 2015-07-03 15:37:32 +02:00
François Grisez
52610bf432 Fix build issue 2015-06-30 16:46:48 +02:00
Ghislain MARY
e9b9d9ad2e Fix build with Visual Studio. 2015-06-26 15:39:59 +02:00
Simon Morlat
3c94dd0b9e repair linphone_core_check_payload_type_usability() and add non regression test. 2015-06-24 17:46:39 +02:00
Ghislain MARY
98f2508be5 Allow linphone to be configured to use RTP sessions for input/output of audio and video streams. 2015-06-18 14:33:11 +02:00
Ghislain MARY
5b4513e776 Change account creator and xmlrpc API so that Python wrapper generation works correctly. 2015-06-09 15:18:37 +02:00
Ghislain MARY
6565d85b1d Merge branch 'dev_xmlrpc' 2015-06-08 13:55:50 +02:00
Ghislain MARY
17cad99e4f Rework assistant for asynchronous XML-RPC requests. 2015-06-05 15:49:47 +02:00
Simon Morlat
c88685b194 fix memory leak and windows build 2015-06-05 12:14:56 +02:00
Ghislain MARY
fb8d223f54 Improve XML-RPC API.
- Handle XML-RPC request returning a string response
- Allow creating a request adding the arguments one at a time (useful for
  automatically generated wrappers where variable args functions can be an
  issue)
2015-06-03 13:49:28 +02:00
Ghislain MARY
16eba02ebf Handle XML-RPC request in liblinphone directly instead of using libsoup. 2015-06-02 11:02:23 +02:00
Jehan Monnier
68532f69bc make lime optional for file sharing 2015-06-01 12:49:53 +02:00
Jehan Monnier
258366937a implement re-invite from multicast to unicast call. 2015-05-13 09:15:29 +02:00
Simon Morlat
8e9da52a9c take local ip address for media each time a reINVITE is done, to take into account possible network changes.
remove sig_localip from LinphoneCall, that appears to be useless
2015-05-01 10:53:00 +02:00
Gautier Pelloux-Prayer
02b9679551 proxy.c: linphone_proxy_config_normalize_number use now a default proxy config if none is provided 2015-04-30 11:23:41 +02:00
Simon Morlat
5913eff7a5 fix crash with ICE scenario 2015-04-17 18:37:28 +02:00
Ghislain MARY
f53864f9c0 Fix 0002202: ICE fails again. 2015-04-17 16:06:49 +02:00
Margaux Clerc
a2561ca88c Add ref counting on LinphoneFriend 2015-04-14 17:04:48 +02:00
Ghislain MARY
74ad3ed63f Add linphonerc option to disable video during pause. 2015-04-10 11:45:47 +02:00
Jehan Monnier
1fd8e12180 change local ip management to take into account new bind_address settings for both media and sig 2015-04-03 14:03:15 +02:00
eburke
90ba818cbf updated b256 patch fixing a crash when new config vars don't exist
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
2015-03-25 23:38:15 +01:00
Jehan Monnier
a56d4e495e store cam setting in call context to be able to manage webcam configuration, call by call, specially useful to set nowebcam in Pausing state only. 2015-03-24 13:56:56 +01:00
Jehan Monnier
15b915e036 -No longer rewrite callparams->has_video, but use dedicated params to save offers answer result regarding video
-Invoke FIR in method linphone_core_send_vfu_request
-Invoke CallStatsUpdated even in case of scheduled updates
-Fix media direction in case of paused/resumed with paused by « inactive »
2015-03-23 12:49:31 +01:00
François Grisez
0ce5a5f7df Add a config parameter to avoid linphone to save authentication data 2015-03-19 14:18:22 +01:00
Simon Morlat
b2b1410a69 fix multiple memory leaks 2015-03-13 15:18:08 +01:00
Jehan Monnier
5035992c64 Merge remote-tracking branch 'private/dev_lime'
Conflicts:
	coreapi/linphonecall.c
2015-03-12 15:08:35 +01:00
Simon Morlat
c7a6cb0986 fix vtables
linphone_core_remove_listener() can safely be called from within a callback.
don't destroy the vtable in linphone_core_destroy(), similar to what is done with linphone_core_remove_listener().
2015-03-10 15:25:02 +01:00
Ben Sartor
e2dbfd5477 configfile now supports setting zrtps key agreements
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
2015-03-02 21:13:06 +01:00
Ghislain MARY
0d75cb32a3 Fix build of tester and lp-gen-wrappers with Visual Studio. 2015-02-27 14:14:54 +01:00
Johan Pascal
d133ebd5eb Merge remote-tracking branch 'linphone-public/master' into dev_lime 2015-02-26 22:46:24 +01:00
Simon Morlat
49a91becb7 cleanups, add network simulation api to liblinphone 2015-02-24 18:11:12 +01:00
Jehan Monnier
2d30e846d8 fix multicast lock crash + enable dtls for android 2015-02-23 13:40:48 +01:00