Commit graph

13128 commits

Author SHA1 Message Date
Jehan Monnier
d643672e81 Fix armv5/gcc build for Android 2018-06-19 12:59:04 +02:00
François Grisez
a1f7d1b562 Makes lpconfig_items.py to support both python 2 and 3.
(cherry picked from commit 8a946552f6)
2018-06-18 15:03:20 +02:00
Ghislain MARY
e70294f3f3 Do not fail an assertion if QRCode support is not built-in, just print an error message. 2018-06-18 14:54:06 +02:00
Sylvain Berfini
4e6c089046 Check account creator native ptr before unref in Java wrapper 2018-06-18 14:47:14 +02:00
Ghislain MARY
5bcfd768a4 Do not check for ICE gathering timeout, an event is triggered from ms2 when it happens. 2018-06-18 14:34:18 +02:00
Simon Morlat
f8900fd423 Clarify documentation about linphone_core_set_log_collection_path(). 2018-06-18 14:24:30 +02:00
Benjamin Reis
42f7f9a349 do not crash qrcode tests when qrcode not compiled 2018-06-18 13:44:28 +02:00
Ghislain MARY
d3cc676dbf Do not do an SRV resolution for the STUN server if a port has been specified in the config. 2018-06-18 13:29:29 +02:00
Danmei Chen
65e7fca08c correct no video error in android and set speakerphone always for special devices
(cherry picked from commit b9829e15a7)
2018-06-18 12:09:05 +02:00
Danmei Chen
d49fde2596 changer usage of MediastreamerAndroidContext.setContext
(cherry picked from commit 4f85b8a5d6)
2018-06-18 12:09:05 +02:00
François Grisez
2bbe8b9eec Remove dummy URI from the setting file of lp-autoanswer daemon
(cherry picked from commit 60031cdc9c)
2018-06-18 12:09:05 +02:00
Danmei Chen
276a748afb fix rpm build
(cherry picked from commit 3cdb464496)
2018-06-18 12:09:05 +02:00
Danmei Chen
dad1e1999e install lp-autoanswer service
(cherry picked from commit 7ffd7a93c8)
2018-06-18 12:09:05 +02:00
Simon Morlat
c5115f63e1 Do not install anymore the not-generated classes of the java wrapper. 2018-06-18 11:57:49 +02:00
Ghislain MARY
aa8bb84d59 Perform STUN server resolution for all proxy configs when network gets up. 2018-06-18 11:02:19 +02:00
Jehan Monnier
09ae895cd0 downgrade error traces in case of sdk resources not found to info as resources are now located into the aar. 2018-06-18 08:59:29 +02:00
Simon Morlat
634aaf3cbf Fix crash when creating the java AndroidPlatforHelper object, because initCore no longer exists. 2018-06-17 11:45:37 +02:00
Simon Morlat
142fdca155 Fix loading of ms2 plugins on Android. The nativeLibraryDir is found from java API and used directly in LinphoneCore instanciation, thanks to the AndroidPlatformHelper class. 2018-06-15 22:07:38 +02:00
Simon Morlat
b40fd03881 update primary contact when network is up (so that in "guess" mode, we have an up to date ip address) 2018-06-15 17:06:32 +02:00
Erwan Croze
f893132414 Merge branch 'dev_refactor_cpp_qrcode' of gitlab.linphone.org:BC/public/linphone into dev_refactor_cpp
Add QRCode API
2018-06-15 10:49:40 +02:00
Ghislain MARY
3a33105bea Allow configuration of SIP error code to be used when declining a call because it has not been answered after the incoming call timeout. 2018-06-14 17:02:57 +02:00
Simon Morlat
963322a508 Add auto-answer option and implement clean C-c shutdown 2018-06-14 16:54:43 +02:00
Benjamin Verdier
ed5a522a7a fix mobile platform support for update check 2018-06-14 10:23:55 +02:00
Benjamin Verdier
8191c7b4f7 Merge branch 'dev_refactor_cpp' of git://git.linphone.org/linphone into dev_refactor_cpp 2018-06-14 10:20:40 +02:00
Simon Morlat
4b95c0d570 Reimplement commit 6368bc of master branch "Fix problem where address family is not guessed as it should (if we receive the INVITE just after sending the REGISTER but before receiving the response of the REGISTER)" 2018-06-13 18:07:14 +02:00
Simon Morlat
358fd4756f Update test flexisip configuration. 2018-06-13 17:52:15 +02:00
Simon Morlat
ad30df8018 Add new flexisip test for certificate subject matching. 2018-06-13 17:51:11 +02:00
Simon Morlat
8ebf9a3505 Add new property in [sip] section called "tls_certificate_subject_regexp" providing a regexp to match with TLS certificate subjects:
subjectAltNames.DNS subjectAltNames.URI and CN.
If nothing is matched the TLS connection is rejected.
2018-06-13 17:44:09 +02:00
Erwan Croze
b764d64430 Fixing leak in JNI concerning file transfert 2018-06-13 16:20:38 +02:00
Ronan Abhamon
77eb02d39a feat(tester/setup_tester): add test on ipv4 addresses (linphone_address_test) 2018-06-13 15:43:25 +02:00
Ghislain MARY
e8cb075600 Remove useless files. 2018-06-13 15:05:49 +02:00
Ghislain MARY
fca153eece Improve RPM packaging + Put executables in bindir in RPM file when tools are enabled. 2018-06-13 15:05:49 +02:00
Mickaël Turnel
95e158bb67 Fix Sequential forking tests
If a client is unreachable, flexisip will receive a 503 if the client is local but not if it doesn't.
So we have to wait a little longer for the flexisip current call timeout.
2018-06-13 14:55:14 +02:00
Benjamin Verdier
dcdc9679db Add support of android and ios in version check 2018-06-13 14:22:03 +02:00
Jehan Monnier
e9e2758816 fix lime to make sure zrtp trust is indexed by scheme, username and domain only instead of full sip uri
# Conflicts:
#	coreapi/lime.c
#	coreapi/linphonecall.c
2018-06-13 11:56:47 +02:00
Johan Pascal
3e851c239b Improve Lime error trace on incoming message deciphering failure
+ improve SQL requests

# Conflicts:
#	coreapi/lime.c
2018-06-13 11:56:47 +02:00
Ghislain MARY
a5dce40387 Fix the way to get the JNI env in java wrapper to prevent crashes when some native threads stop. 2018-06-13 11:24:12 +02:00
Jehan Monnier
e2c3e740ec make sure algorithm are compared case unsensitively 2018-06-13 10:47:24 +02:00
Mickaël Turnel
1f8f2c2c80 Fix ICE Agent not able to start if IPV6 is unreachable 2018-06-12 18:08:11 +02:00
Benjamin Reis
f90ce1f7ea do not crash on failed tests 2018-06-12 17:09:32 +02:00
Ghislain MARY
71e39c10fa Let mediastreamer2 try to bind the RTP socket for IPv6 and if it fails fallback to IPv4.
This is to enable to call starting in IPv4 to continue in IPv6 in case of network switch.
2018-06-12 13:29:26 +02:00
Ronan Abhamon
5c6b97b9ad chore(CMakeLists.txt): remove soci option 2018-06-11 15:07:20 +02:00
Simon Morlat
b1e084c4c8 Fix non working video upon receiving a video call, when the stun server couldn't be resolved.
The problem was that the gathering was started accidentally when accepting the call, but it is too late for this.
The video stream was then in the preparing state while requested to start, so it refused to start.
The incoming RTP packets were then processed by the ICE gathering graph, which did nothing with except logging error messages "unknwon payload type XXX".
2018-06-07 19:44:19 +02:00
Simon Morlat
3a62d27f72 Fix potential crash (rare) 2018-06-07 19:43:55 +02:00
Mickaël Turnel
1325fbe088 Prevent tests from crashing if current call is NULL 2018-06-07 15:51:32 +02:00
Jehan Monnier
4296470ab3 fix wrong association between c and cpp chat message pointer 2018-06-06 16:02:57 +02:00
Jehan Monnier
fa2450a42b fix crash in search bar on ios 2018-06-05 17:44:35 +02:00
Benjamin Reis
e9a88353a0 fix mark as read on basic chat room 2018-06-04 13:27:20 +02:00
Erwan Croze
0f006ab1f6 Fix name of hold sound for android 2018-06-04 09:25:01 +02:00
Jehan Monnier
d3029aa970 fix wrong memory mgt in iOS platform helper 2018-06-01 08:57:39 +02:00