Commit graph

560 commits

Author SHA1 Message Date
Jehan Monnier
1948fbcb07 Revert most of Ronan refactoring to avoid to much instability on master. 2017-09-08 15:13:34 +02:00
Jehan Monnier
252925a373 improve logging to make sure all logger are handler by liblinphone, including, ortp, bzrtp and belle-sip 2017-09-08 13:58:30 +02:00
Simon Morlat
3d283b2953 stop transaction's retransmissions when a call is cancelled. 2017-09-06 17:23:13 +02:00
Ronan Abhamon
1f46a5677f feat(core): many fixes 2017-09-05 15:02:19 +02:00
Ronan Abhamon
1c3bcf0b16 feat(core): big refactoring & full c address impl 2017-09-05 13:59:54 +02:00
Benjamin Reis
ab41ae3c45 add gruu support 2017-08-25 11:39:37 +02:00
Jehan Monnier
552be2a639 small rework of trace level management. 2017-08-23 09:21:24 +02:00
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Ghislain MARY
b7658734f0 Handle TTL in DNS responses. 2017-07-19 10:27:04 +02:00
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
Nicolas Follet
1e8abd208d add uri header getter in LinphoneAddress 2017-06-07 17:32:29 +02:00
Simon Morlat
94fa1c9a46 fix default error info when declining a call 2017-06-05 12:19:41 +02:00
Benjamin Reis
df716458bb set error info before calling the callback 2017-06-05 11:10:53 +02:00
Benjamin Reis
5d566fcc32 Add reason header to CANCEL and add tests for reason headers 2017-06-05 10:29:40 +02:00
Benjamin Reis
32b7ce6db0 Add reason heanders to request + tests 2017-06-01 16:56:51 +02:00
Erwan Croze
4b648c1158 Use of BCTBX_NO_BREAK instead of LINPHONE_NO_BREAK 2017-05-31 15:25:47 +02:00
Simon Morlat
74b638fc79 fix crash 2017-04-15 14:17:51 +02:00
Simon Morlat
6ac8f1505f fix crashes with new error info 2017-04-15 13:02:08 +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
0024fab59d Merge branch 'master' into dev_loc 2017-04-11 13:29:35 +02:00
Simon Morlat
cc08579621 avoid strcpy() 2017-04-07 14:58:47 +02:00
Sandrine Avakian
95387d3785 Fixes with reason header call decline. 2017-04-07 14:43:24 +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
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
Sandrine Avakian
a7a1c181a1 Merge commit 'a620881569eecd0938bb4101224b4353d029c788' into dev_loc 2017-03-30 10:51:14 +02:00
Jehan Monnier
0f08eba9cd switch linphone_address parsing to fast version of belle_sip_header_address 2017-03-28 10:20:17 +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
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
Simon Morlat
2baa9f2006 Prevent sending INFO messages when the dialog isn't established yet. 2017-03-14 17:59:45 +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
Simon Morlat
fa21f35941 fix enablement of advanced rate control 2017-02-05 17:12:01 +01:00
Simon Morlat
a8078ca9b0 add checks and fix bug where a call is directly transitionned to Released state when an io error occurs during a reINVITE. 2017-02-03 17:12:38 +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
c4e6c49dfe fix memory leak 2017-01-26 16:21:24 +01:00
Ghislain MARY
a7e58ad579 Reply to CANCEL with 200ok and terminate previous transaction instead of responding "Transaction does not exists" in case of re-INVITE cancellation. 2017-01-19 17:02:40 +01:00
François Grisez
cc7bec3cf5 Fix memory leak 2017-01-17 15:41:57 +01:00
Ghislain MARY
9867c2fee7 Send and receive imdn. 2017-01-03 14:56:17 +01:00
Jehan Monnier
f846e25d68 make sure terminated transaction no longer reference op 2016-12-14 11:21:10 +01:00
Ghislain MARY
a9e04b22f2 Fix "Call with DNS timeout" test. 2016-12-12 10:50:06 +01:00
Sylvain Berfini
e0fe5ff368 Fixed sal_message_reply(): no server transaction for isComposing messages 2016-12-08 15:45:39 +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
Ghislain MARY
0b16049394 If connectivity is lost during an outgoing call at a very early stage (the dialog has not been created yet), try to repair the call by cancelling the INVITE and issuing a new one. 2016-12-05 14:03:46 +01:00
Sylvain Berfini
9a26b72164 Merge remote-tracking branch 'private/dev_im_encryption_engine' 2016-12-01 11:12:10 +01:00
Ghislain MARY
b15e3e8bdd Allow transfer of ongoing call to an other call that is in the ringing state. 2016-11-22 17:56:49 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Sylvain Berfini
b45e6dcc8d Added remove custom header method for chat message + test 2016-11-14 11:39:10 +01:00