Commit graph

1611 commits

Author SHA1 Message Date
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
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
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
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
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
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
Mickaël Turnel
1f8f2c2c80 Fix ICE Agent not able to start if IPV6 is unreachable 2018-06-12 18:08:11 +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
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
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
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
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
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
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
Ronan Abhamon
771487a89a fix(c-wrapper): add a way to clone custom properties of c objects 2018-05-24 17:23:07 +02:00
Erwan Croze
2731c470c4 Fix magic search
-Alias will now appear in domain filter
-Contact is prefered than address in result
2018-05-24 16:57:04 +02:00
Ronan Abhamon
71ed40b0d9 fix(PathsWindows): append linphone to path 2018-05-24 13:42:14 +02:00
Ronan Abhamon
db8e328b65 fix(core): do not export LINPHONE_EXPORTS in tester... + add ugly workarounds due to bad design 2018-05-24 13:28:01 +02:00
Ronan Abhamon
ec23c3bdc8 fix(linphone): add some fixes for Windows + add a export symbol for internal classes 2018-05-24 13:28:01 +02:00
Ronan Abhamon
d900fc0787 fix(sal): export symbols for windows (sal workaround) 2018-05-23 17:00:55 +02:00
Erwan Croze
c6e2ef105c Fixing magic search, remove duplicate result 2018-05-23 16:51:37 +02:00
Ronan Abhamon
c0af01b2e0 fix(core): export some symbols for Windows 2018-05-23 16:49:35 +02:00
Erwan Croze
da265fd909 Fixing problem with phone number in magic search 2018-05-23 15:20:08 +02:00
Simon Morlat
acade62709 Add new method 'linphone_call_request_notify_next_video_frame_decoded(LinphoneCall *call)' that is missing to compensate the deprecation of linphone_call_set_next_video_frame_decoded_callback().
Due to this lack, some tests were failed.
2018-05-23 11:39:18 +02:00
Ronan Abhamon
61b927afc2 fix(MainDb): read is blacklisted by soci, use read_from_start instead on Windows 2018-05-23 10:57:20 +02:00
Ronan Abhamon
82f1950551 fix(CMakeLists.txt): export soci symbols 2018-05-23 10:56:25 +02:00
Ronan Abhamon
652a3bf021 fix(PathsWindows): add dep libs 2018-05-23 10:48:18 +02:00
Jehan Monnier
836cbdf97f make sure android platform helper is compatible with linphone-android 3.x 2018-05-22 18:13:40 +02:00
Simon Morlat
80c9d0c7eb Reply 489 Bad Event if we receive a NOTIFY in a call for anything else than a "refer" event package. This commit is also made in master branch. 2018-05-22 18:06:08 +02:00
Erwan Croze
4e6961aa36 Some fix in Magic Search 2018-05-22 17:58:52 +02:00
Ronan Abhamon
8c1b0dc8ab chore(CMakeLists.txt): export Xerces symbols on Windows 2018-05-22 17:56:20 +02:00
Erwan Croze
20b8d7eba1 Replacing string compare by == in magic-search.cpp 2018-05-22 17:03:53 +02:00
Erwan Croze
c8a855ef1c Fixing get friend of Magic Search 2018-05-22 16:42:42 +02:00
Ghislain MARY
f2b54a6bbb Fix build on Android with NDK 15. 2018-05-22 15:29:48 +02:00
Ronan Abhamon
954a1a9cd5 fix(core): add many workarounds to build on Windows... 2018-05-22 09:40:48 +02:00
Ronan Abhamon
a225f7cf3a fix(MainDb): add a workaround to define sql filters on Windows 2018-05-22 09:29:01 +02:00
Erwan Croze
b0f5d446a1 Fix compilation in magic search 2018-05-21 16:11:02 +02:00
Ronan Abhamon
1cbfe4e499 fix(MainDb): SqlEventFilterBuilder => better code 2018-05-21 14:49:07 +02:00