Commit graph

402 commits

Author SHA1 Message Date
Simon Morlat
e4149d19a8 Add LinphoneCall callback to be notified about ACKs, in order to be able to add custom headers in sent ACKs and read custom headers in received ACKs. 2017-06-26 22:49:15 +02:00
Jehan Monnier
1612e329a1 avoid cancel with info testers to crash 2017-06-19 14:49:47 +02:00
Jehan Monnier
a52692d596 add a comment on stream restarts caused by ice restart 2017-06-15 15:01:15 +02:00
Jehan Monnier
2aa9087b70 fix call log status in case of missed call 2017-06-13 10:53:10 +02:00
Benjamin Reis
8469ebcfc2 default reason only if protocol not set 2017-06-05 13:45:31 +02:00
Benjamin Reis
5d566fcc32 Add reason header to CANCEL and add tests for reason headers 2017-06-05 10:29:40 +02:00
Simon Morlat
685cb1f06a rename long_term_event into presence_publish_event 2017-06-05 10:28:04 +02:00
Erwan Croze
4b648c1158 Use of BCTBX_NO_BREAK instead of LINPHONE_NO_BREAK 2017-05-31 15:25:47 +02:00
François Grisez
41a1f556e1 Add LINPHONE_NO_BREAK macro
This macro tells GCC that a 'break' statement has been deliberately
omitted in a switch block.
2017-05-30 14:21:30 +02:00
Benjamin Reis
1e11361827 reduce call to lp_config 2017-05-18 16:10:54 +02:00
Benjamin Reis
de154b5207 keep ringing in early media when declining one of many incoming calls if linphone_core_set_ring_during_incoming_early_media=true 2017-05-18 15:58:34 +02:00
Ghislain MARY
84441343ad Fix crash because of unref of event. 2017-05-18 15:11:17 +02:00
Benjamin Reis
a0de8d042e do not stop ringing when still incoming calls 2017-05-11 16:49:24 +02:00
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