Commit graph

3813 commits

Author SHA1 Message Date
Sylvain Berfini
1ed3fccf3a Merge branch 'master' into dev_vcard
Conflicts:
	coreapi/friendlist.c
	java/common/org/linphone/core/LinphoneCore.java
2016-02-18 14:25:06 +01:00
Gautier Pelloux-Prayer
4bef511e53 linphonecore.c: fix log collection 2016-02-18 12:31:33 +01:00
Sylvain Berfini
2cab9fe981 Try to convert ISO to UTF8 before generating xml entry for LpConfig dump 2016-02-18 12:14:01 +01:00
Gautier Pelloux-Prayer
028afb264d linphonecore.c: release adress after usage 2016-02-16 14:00:59 +01:00
Gautier Pelloux-Prayer
f14b6e73eb linphonecore.c: linphone_core_redirect_call should interpret url as linphone_core_transfer_call does 2016-02-16 11:38:54 +01:00
Ghislain MARY
6ac4d568f3 Merge branch 'bctoolbox'
Conflicts:
	mediastreamer2
2016-02-15 11:59:35 +01:00
Svalorzen
e78a360a87 Modified soundcard show command to show whether we are using files or not 2016-02-15 09:40:18 +01:00
Gautier Pelloux-Prayer
da9c8393fc linphonecall.c: fix crash in zrtp 2016-02-11 16:44:16 +01:00
Simon Morlat
1b7f53849d improve soundcard management 2016-02-11 15:51:06 +01:00
Jehan Monnier
4b1cfa3ddf make sure even linphone friends created with legacy constructor do not lead to a crash if used in friend-list 2016-02-10 18:13:38 +01:00
Simon Morlat
2c929a08c7 add java method to configure user certificates 2016-02-10 17:00:22 +01:00
Gautier Pelloux-Prayer
2ccfd093d3 sal_impl.c: fix 200 OK header, proposed by Christian Spielberger 2016-02-10 14:02:28 +01:00
Johan Pascal
5b4f50fb66 Lime uses bctoolbox crypto API 2016-02-09 22:02:59 +01:00
Jehan Monnier
37d4a14532 -no longer decline calls if local presence status is closed 2016-02-09 11:02:57 +01:00
Sylvain Berfini
c15cfd5f4c Fix previous merge 2016-02-09 10:21:45 +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
Jehan Monnier
b655775220 -enable ice message integrity check by default.
-Can be disabled for backward compatibility with Linphone prior to December 2014
2016-02-08 14:04:52 +01:00
Gautier Pelloux-Prayer
9c4bdf946a account_creator.c: apply transport 2016-02-08 10:44:28 +01:00
Simon Morlat
4fe85734d4 add JNI implementation for LinphoneCore.setDnsServers() 2016-02-07 23:02:48 +01:00
Simon Morlat
a0646a0f9d add method to configure dns servers 2016-02-07 22:35:36 +01:00
Simon Morlat
947d39f9ba fix too short timeouts for redirect test 2016-02-07 11:18:47 +01:00
Simon Morlat
d3e3740a64 fix crashes around presence and publish.
Documentation was not consistent with actual code was doing. LinphoneEvent becomes a true belle_sip_object_t, which now evidences memory leaks.
update ms2
2016-02-06 11:51:06 +01:00
Ghislain MARY
8e3c881836 Fix build on Windows. 2016-02-05 17:50:14 +01:00
Jehan Monnier
7fca3be419 On invalidate, only notify friend with an already known presence model 2016-02-05 17:11:45 +01:00
Ghislain MARY
4c2de4f59a Disable dummy STUN packets sending when ICE is activated. 2016-02-05 11:30:10 +01:00
Johan Pascal
b504646e58 Move crypto API to bctoolbox
- LIME is yet to be ported, compilation fail with LIME enabled
2016-02-04 23:32:38 +01:00
Simon Morlat
dc52e150b7 adapt android jni to MSFactory usage, and add linphone_core_reload_ms_plugins() as a new way of loading plugins after LinphoneCore has been created.
This can be used on platforms where dynamic loading of plugins is not permitted, by doing things in this sequence:
1) Create the LinphoneCore as usual
2) call the libms*_init() routines of the plugins by passing them the MSFactory obtained via linphone_core_get_ms_factory()
3) call linphone_core_reload_ms_plugins()
2016-02-04 22:01:00 +01:00
Ghislain MARY
d61fe35f48 Add API to force the use of relay when using ICE (for tests purpose) + add test that does just that. 2016-02-04 16:52:59 +01:00
Sylvain Berfini
b748b453d6 Merge branch 'master' into dev_vcard
Conflicts:
	tester/presence_tester.c
2016-02-04 16:39:43 +01:00
Jehan Monnier
89e977998f start long running task during tunnel udp link probing 2016-02-04 16:11:43 +01:00
Jehan Monnier
2f3c2491e0 fix crash when notification timeout is received 2016-02-04 13:41:58 +01:00
Ghislain MARY
5644d8332f Fix build on Windows. 2016-02-04 11:22:16 +01:00
Sylvain Berfini
6e38ee18d5 Merge branch 'master' into dev_vcard
Conflicts:
	coreapi/linphonecore.c
	tester/presence_tester.c
2016-02-03 17:16:33 +01:00
Simon Morlat
86d8674d80 fix LINPHONE_DEPRECATED 2016-02-03 16:37:14 +01:00
Jehan Monnier
d678615e26 make sure LinphoneFriend created on core always have core back pointer set 2016-02-03 15:49:34 +01:00
Sylvain Berfini
d458258237 Fixed segfault when manipulating friends with vcards without carddav configured 2016-02-03 15:26:07 +01:00
Sylvain Berfini
0676eaf4f1 Removed deprecated methods from vcard tester + updated import/export vCard API 2016-02-03 14:37:34 +01:00
Sandrine Avakian
c0566bbad0 Updating sip_setup_register_all to use ms_factory_load_plugins. 2016-02-03 12:35:48 +01:00
Sylvain Berfini
f5e86f8f95 Improved a bit the carddav_updated cb in friendlist 2016-02-03 12:05:31 +01:00
Simon Morlat
bea1b58e30 fix crash
Valgrind backtrace:
2016-02-02 21:08:50:540 ortp-warning-Audio conference MSTicker: We are late of 846 miliseconds.
==42557== Invalid write of size 1
==42557==    at 0x4E9253D: Linphone::RemoteConference::terminate() (conference.cc:729)
==42557==    by 0x4EADA34: linphone_core_terminate_conference (linphonecore.c:7533)
==42557==    by 0x5171B20: simple_conference_base (multi_call_tester.c:282)
==42557==    by 0x5172468: simple_remote_conference (multi_call_tester.c:801)
==42557==    by 0x80C76B5: run_single_test (in /usr/local/lib/libcunit.so.1.0.1)
==42557==    by 0x80C52F7: CU_run_test (in /usr/local/lib/libcunit.so.1.0.1)
==42557==    by 0x5194E7B: bc_tester_run_tests (bc_tester_utils.c:331)
==42557==    by 0x400F4A: main (liblinphone_tester.c:245)
==42557==  Address 0x1e0a5cc0 is 128 bytes inside a block of size 136 free'd
==42557==    at 0x4C2C2BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==42557==    by 0x4EA45BB: linphone_core_conference_state_changed (linphonecore.c:7468)
==42557==    by 0x4E9253C: Linphone::RemoteConference::terminate() (conference.cc:723)
==42557==    by 0x4EADA34: linphone_core_terminate_conference (linphonecore.c:7533)
==42557==    by 0x5171B20: simple_conference_base (multi_call_tester.c:282)
==42557==    by 0x5172468: simple_remote_conference (multi_call_tester.c:801)
==42557==    by 0x80C76B5: run_single_test (in /usr/local/lib/libcunit.so.1.0.1)
==42557==    by 0x80C52F7: CU_run_test (in /usr/local/lib/libcunit.so.1.0.1)
==42557==    by 0x5194E7B: bc_tester_run_tests (bc_tester_utils.c:331)
==42557==    by 0x400F4A: main (liblinphone_tester.c:245)
==42557==
2016-02-02 21:13:29 +01:00
Simon Morlat
2f02f39756 fix build 2016-02-02 21:07:38 +01:00
Jehan Monnier
29e0109c53 -Publish are now implemented using LinphoneEvent API. 2016-02-02 18:54:39 +01:00
Sylvain Berfini
522e973553 Added JNI bindings for newly added LinphoneFriendList synchronization callback 2016-02-02 17:42:22 +01:00
Sylvain Berfini
0370aa9e90 Added new callback for synchronization done + fixed small issue: when contact was removed from the server, it was trying to remove it again 2016-02-02 17:09:21 +01:00
Sylvain Berfini
9cec564138 RFC 6352 stipulates in section 10.3 that addressbook-query must have a filter, even an empty one 2016-02-02 15:59:41 +01:00
Sylvain Berfini
2e62153e1f Also deprecated linphone_core_add_friend and linphone_core_remove_friend 2016-02-02 15:40:09 +01:00
Sylvain Berfini
32ac62bb23 Deprecated linphone_core_get_friends 2016-02-02 15:38:52 +01:00
Sylvain Berfini
45bcccf4eb Added methods (and JNI bindings) to get LinphoneFriends from a LinphoneFriendList and LinphoneFriendLists from LinphoneCore 2016-02-02 14:47:15 +01:00
Brieuc Viel
9afc1e1509 fix compilation iOS 2016-02-02 14:30:44 +01:00
Sylvain Berfini
7d03d2e00e Added new method to import a LinphoneFriend into a LinphoneFriendList without flagging it as dirty 2016-02-02 14:17:37 +01:00