Commit graph

13110 commits

Author SHA1 Message Date
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
Simon Morlat
2f5ddf8f14 Fix bug in the method checking the validity of DateTime CPIM header. 2018-05-31 13:49:05 +02:00
Simon Morlat
8352ebcafd Fix issue where remote ring is not heard during an outgoing call, if previously an incoming call has been declined. 2018-05-30 17:34:14 +02:00
Simon Morlat
63732921f9 Revert "fix(MainDb): read is blacklisted by soci, use read_from_start instead on Windows"
This reverts commit 61b927afc2.
2018-05-30 15:23:44 +02:00
Mickaël Turnel
2857b8fc11 Improved CpimMessage checking when adding a header 2018-05-30 14:46:24 +02:00
Jehan Monnier
95e100ea33 fix cpim testers 2 2018-05-30 09:31:54 +02:00
Jehan Monnier
bc8f6a5c60 fix cpim testers 2018-05-30 09:29:10 +02:00
Jehan Monnier
79c58c14aa fix cpim tester on android 2018-05-29 17:59:29 +02:00
Benjamin Reis
835d54adde factorize access to resource code 2018-05-28 15:57:03 +02:00
Jehan Monnier
d0b5c85d13 remove call to linphone_factory_create_core from offer/answer tests 2018-05-28 13:39:09 +02:00
Mickaël Turnel
2ae73cb39c Changed charset conversion function from 'any to any' to 'any to utf8'
Update bctoolbox for this commit to work
2018-05-28 10:26:43 +02:00
Erwan Croze
a9233ebd43 Factorization in magic search 2018-05-28 10:15:59 +02:00
Ronan Abhamon
2eec29a01f fix(message_tester): remove spaces as indent 2018-05-28 09:33:52 +02:00
Ronan Abhamon
503585ac06 fix(MainDb): store basic chat room participants 2018-05-28 09:28:07 +02:00
Benjamin Reis
c7eece9e77 use variable instead of absoluth path 2018-05-25 15:32:05 +02:00
Simon Morlat
a6db4780bc Remove test that doesn't exit properly, causing subsequent tests to fail.
This test is no longer required.
2018-05-25 14:39:47 +02:00
Erwan Croze
849807fb3a Fix message_tester test 2018-05-25 14:38:47 +02:00
Jehan Monnier
420aedc7e5 add java method to android’s helper to copy assets instead of resource 2018-05-25 14:32:08 +02:00
Simon Morlat
d865f17159 Fix test that was not un-registering Marie. It created many failures later on because of messages being kept by flexisip for this participant. 2018-05-25 12:01:19 +02:00