Commit graph

13144 commits

Author SHA1 Message Date
Benjamin Reis
9c0ecf739d definitely fix 'Call declined on timeout' tester 2018-06-21 11:41:40 +02:00
Ronan Abhamon
bc9706613a feat(CMakeLists.txt): use FindZLIB from cmake 2018-06-20 11:48:20 +02:00
Ronan Abhamon
563dfbaa3b feat(flexisip_tester): add tests on JweAuth
Conflicts:
	tester/flexisip_tester.c
2018-06-20 11:46:31 +02:00
Ronan Abhamon
10e2d8c00e chore(tester): use releative path to userdb.conf in tester/flexisip folder 2018-06-20 11:42:27 +02:00
Ronan Abhamon
77883168dc fix(SalOp): fix crash in sal_op_get_address_family, host can be null if network is not available
Conflicts:
	coreapi/bellesip_sal/sal_op_impl.c
2018-06-20 11:39:07 +02:00
Ronan Abhamon
610f826ce6 fix(tester): avoid empty tests array in call_video_tester when video is not enabled 2018-06-20 11:19:20 +02:00
Benjamin Reis
a6d022f0bb avoid invalid read in event_tester callbacks 2018-06-20 11:14:46 +02:00
Jehan Monnier
e289a58a44 Fix armv5/gcc build for Android without breaking Linux’s build
This reverts commit 45e9c3a49c.
2018-06-19 18:24:22 +02:00
Ghislain MARY
45e9c3a49c Revert "Fix armv5/gcc build for Android" that is breaking build on Linux systems.
This reverts commit d643672e81.
2018-06-19 17:00:58 +02:00
Benjamin Reis
9507e4bd33 Merge branch 'feature/early-media-call-repair' into dev_refactor_cpp 2018-06-19 16:09:28 +02:00
Benjamin Reis
da12783df2 update streams when receiving REPLACE INVITE 2018-06-19 15:40:13 +02:00
Benjamin Reis
5d539447fd remove useless comment 2018-06-19 15:18:24 +02:00
Ghislain MARY
5d65d0ef72 Restart streams when receiving an INVITE with Replaces header. 2018-06-19 14:14:00 +02:00
Benjamin Reis
f9384facd9 fix message tester:
-> Because of the cache of LinphoneAddress in some methods, a call of the method will invalidate previous returned value
2018-06-19 13:26:37 +02:00
Jehan Monnier
d643672e81 Fix armv5/gcc build for Android 2018-06-19 12:59:04 +02:00
Ghislain MARY
184388008e Allow network state change to be notified immediately without linphone_core_iterate() being called. 2018-06-19 11:12:24 +02:00
Ghislain MARY
da3007f50d Handle call repair while in early-media. 2018-06-18 18:02:57 +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