Commit graph

540 commits

Author SHA1 Message Date
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
Sylvain Berfini
3214b4371a Reworked im encryption engine to be at linphone level instead of sal level 2016-11-10 14:33:04 +01:00
Sylvain Berfini
28d5816c06 Added belle_sip_request_t parameter to im encryption engine callbacks to authorize read/write of SIP headers 2016-11-04 16:26:36 +01:00
Sylvain Berfini
47c08783af Added process outgoing message for im encryption engine 2016-11-04 15:35:59 +01:00
Sylvain Berfini
2c905e4cde Started im encryption engine, process incoming message with lime seems to work 2016-11-04 12:02:23 +01:00
Ghislain MARY
452d66e06d Add an error log when parsing of an ICE candidate in the SDP fails. 2016-10-25 11:05:54 +02: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
Ghislain MARY
9a23352c4c Stricter compilation options + new compilation error fixes. 2016-10-19 17:31:07 +02:00
Ghislain MARY
e50961a8ff Merge branch 'master' into dev_rat 2016-10-18 11:06:03 +02:00
Simon Morlat
3dcb23ac8d fix potential memory leak of stun server resolver context 2016-10-14 14:21:21 +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
0a4084bc4a Merge branch 'master' into dev_rat 2016-10-11 09:58:10 +02:00
Jehan Monnier
4d20d10786 fix invalid reads in tunnel code 2016-10-04 13:23:41 +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
Ghislain MARY
ee9d064332 Fix build with updated belle-sip. 2016-09-29 10:45:54 +02:00
Jehan Monnier
b4e51b12da expose diversion header at call level 2016-09-28 14:50:06 +02:00
Jehan Monnier
e8e922f0bf fix header replaces usage according to rfc3891 2016-09-28 11:24:52 +02:00
Ghislain MARY
5aa030d578 Replace sal_op_is_ipv6() by sal_op_get_address_family().
This is necessary because in some cases the op cannot tell whether it is IPv6 or IPv4. And in such cases we can fallback to an other method to get the information (get_local_ip_for()).
2016-09-26 17:59:40 +02:00
Simon Morlat
fd78a2f7b9 fix absence of assert report in xml output of tests when a test is leaking memory. 2016-09-26 16:02:16 +02:00