Commit graph

389 commits

Author SHA1 Message Date
Simon Morlat
7f57f6828c merge branch with reason header support and new ErrorInfo features.
Add JNI and java interfaces. Fix issues.
2017-04-14 15:28:58 +02:00
Sandrine Avakian
9d6f6f6651 Merge branch 'master' into dev_loc 2017-04-06 15:02:43 +02:00
Sandrine Avakian
a5ffae6b03 Fixing errors in linphone_error_info_set parameter usage induced by merge from master. 2017-04-05 16:19:26 +02:00
François Grisez
274ff16b41 Fix double free 2017-04-05 10:18:25 +02:00
Sandrine Avakian
710c416e0a Merge commit '77913a3c5e3aace6ab48b78383c011d50c6bec3c' into dev_loc
# Conflicts:
#	coreapi/bellesip_sal/sal_op_call.c
#	coreapi/callbacks.c
#	mediastreamer2
#	oRTP
2017-04-04 14:50:10 +02:00
Sandrine Avakian
ca3e442d9f Replacing most calls to sal_call_decline with sal_call_decline_with_error_info 2017-04-04 14:09:44 +02:00
Simon Morlat
e0def942a9 Report call logs for calls aborted before they are notified to the application. 2017-04-03 15:31:13 +02:00
Sandrine Avakian
92c8c0e4da First commit for decline call with reason header support 2017-04-03 14:31:53 +02:00
Ghislain MARY
548a81228f Add definition of callbacks on the LinphoneCall object. 2017-03-30 15:40:33 +02:00
Sandrine Avakian
ad337fffef Adding new API int linphone_call_terminate_with_error_info(LinphoneCall *call, const LinphoneErrorInfo *ei) and other functions to handle RFC3326 reason header. 2017-03-27 15:27:42 +02:00
Sandrine Avakian
6adccb389b Merge branch 'master' into dev_loc 2017-03-23 11:41:21 +01:00
Simon Morlat
95098f055a Make LinphoneErrorInfo a belle-sip object. Add new accessors, and make it able to take Reason headers in incoming requests (feature to be tested) 2017-03-22 14:45:24 +01:00
Sandrine Avakian
0009e277d7 Added linphone_call_set_params to modify SDP header and attributes.
Added linphone_call_get_params to get local call params used.
Added tests .
2017-03-20 14:14:43 +01:00
Ghislain MARY
a8418666e4 Fix deprecation warnings. 2017-03-20 11:15:26 +01:00
Ghislain MARY
6a9b199af6 Remove a lot of deprecation warnings. 2017-03-17 17:49:45 +01:00
François Grisez
5c284e9155 Fixes unmuted microphone and camera when early-media is leaved and the remote RTP address changes 2017-03-14 12:55:10 +01:00
Ghislain MARY
5193bb34e1 Add API to resend a chat message that has not been delivered. 2017-02-21 10:52:17 +01:00
Ghislain MARY
e53d4cf70d Improve API so that it is more object-oriented. 2017-02-13 16:18:37 +01:00
Simon Morlat
669c3cee4e Fix tests broken by the change of RTP symmetric policy. 2017-02-08 13:58:03 +01:00
Ghislain MARY
b297a4cb1d Rework chat handling.
- Add content type information in LIME encrypted message
 - Single entry point for all types of chat messages that are first decrypted if necessary and then handled according to their content type
 - Add possibility to send chat messages with a content type that is not 'text/plain'
 - Encrypt IMDN
2017-01-31 12:25:12 +01:00
Simon Morlat
656ff43b13 fix most common warnings 2017-01-14 14:13:26 +01:00
Ghislain MARY
9867c2fee7 Send and receive imdn. 2017-01-03 14:56:17 +01:00
Benjamin Reis
2fa3c22831 as-dd break to switch when no SDP 2016-12-21 09:35:01 +01:00
Benjamin Reis
2675b25f45 Do not go back to previous state when in a stable state if SDP missing 2016-12-19 15:29:02 +01:00
Simon Morlat
e132ecc181 fix crash 2016-12-15 14:42:12 +01:00
Sylvain Berfini
a1d5ed8ca9 Allow IM Encryption Engine to return a custom code upon reception of a composing message 2016-12-06 10:30:21 +01:00
Sylvain Berfini
9a26b72164 Merge remote-tracking branch 'private/dev_im_encryption_engine' 2016-12-01 11:12:10 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Sylvain Berfini
3214b4371a Reworked im encryption engine to be at linphone level instead of sal level 2016-11-10 14:33:04 +01:00
Ghislain MARY
cadf505786 Add specific callback to perform action (in this case re-INVITE) on cancel response. 2016-10-24 14:27:45 +02:00
Simon Morlat
cceca72237 Fix crash when a reINVITE receives a 481 response. 2016-10-21 20:55:01 +02:00
Simon Morlat
57fc3171db Rework and clarify the "Call with ICE and video added" test family.
add_video() no longer exists and is replaced by request_video(), since this function doesn't guarantee video to be established depending on receiver's policy.
Also, it no longer modifies the video policy, for clarity. Instead, it uses linphone_core_accept_call_update() to accept video despite of video policy.
2016-10-20 23:02:28 +02:00
Ghislain MARY
88e515f71f One more fix for RAT handling. 2016-10-18 12:28:13 +02:00
Ghislain MARY
504c1df3f7 Repair some regressions caused by the changes made for RAT. 2016-10-18 11:04:50 +02:00
Ghislain MARY
d5d0f39517 Implement section 5.5 of RFC 6141, recover from UAC connection loss during re-INVITE. 2016-10-13 14:52:09 +02:00
Ghislain MARY
1fce1b1581 Repair call where a connection loss occurs on the caller side by sending a new INVITE with a Replaces header. 2016-09-30 16:55:47 +02:00
Ghislain MARY
73539fefa1 Try to repair calls in early state when a network loss occurs. 2016-09-30 16:55:47 +02:00
Simon Morlat
d04be099a2 Robustize LinphoneEvent api, fix memory leaks and crashes in error conditions.
Add new tests.
2016-09-30 00:39:57 +02:00
Simon Morlat
f9aee35116 heavy rework of lists, presence list subscriptions, and fix many memory leaks 2016-09-22 22:10:36 +02:00
Sylvain Berfini
05cf0889ea Revert to old auth_info_requested callback and added a new one instead 2016-09-21 13:03:23 +02:00
Sylvain Berfini
f42568dc71 Added tests + changes to make tls authentication on LinphoneAuthInfo work 2016-09-20 18:07:57 +02:00
Sylvain Berfini
f575f94bb4 Added methods to set TLS certificate/key on LinphoneAuthInfo + updated auth_info_requested callback 2016-09-20 12:44:43 +02:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Simon Morlat
e4c674c2e3 implement the sending of out-of-dialog NOTIFYs, and add non-regression test
This fixes a crash producing all the time when receiving such out-of-dialog NOTIFY.
2016-05-27 23:03:05 +02:00
Gautier Pelloux-Prayer
0d0ecca305 presence_server: fix memory leaks 2016-04-29 16:40:49 +02:00
François Grisez
3858fcdb0f Fixes regression about early-media call
The camera was not enabled again after recieving the 200 Ok
response while an outgoing early media call establishment.
2016-03-21 15:56:19 +01:00
Jehan Monnier
966c7caa2d -fix many memory leak
-unsubscribe in linphone_core_uninit
2016-03-10 18:58:44 +01:00
Simon Morlat
34a1e616b2 implement ice mode where the c= line is left to host candidate instead of stun (this is useful to interoperate with non-ice servers).
also, start to enable the use of ice without stun, though it is not working yet because of internal problems in the ice session.
2016-03-04 22:58:43 +01:00
Jehan Monnier
37d4a14532 -no longer decline calls if local presence status is closed 2016-02-09 11:02:57 +01:00