Commit graph

1621 commits

Author SHA1 Message Date
Jehan Monnier
35d613fae9 fix wrong selection of sender crypto’s key in case of an incoming offer with matching chypto also not the first.
# Conflicts:
#	src/sal/call-op.cpp
2018-10-22 13:09:56 +02:00
Ghislain MARY
47b12a26b2 Allow access to Core from Participant and ParticipantDevice. 2018-06-26 11:00:28 +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
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
Ghislain MARY
5d65d0ef72 Restart streams when receiving an INVITE with Replaces header. 2018-06-19 14:14:00 +02:00
Jehan Monnier
d643672e81 Fix armv5/gcc build for Android 2018-06-19 12:59:04 +02:00
Ghislain MARY
da3007f50d Handle call repair while in early-media. 2018-06-18 18:02:57 +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
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