Commit graph

56 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Simon Morlat
4644ade096 fix regression in some tests not wanting to register within linphone_core_manager_new(), due to register going out while stun resolution is in progress. 2016-02-29 22:00:27 +01:00
Ghislain MARY
83ad9553d8 Do not try to open NULL filepath (causes crash on Windows). 2016-01-06 11:59:47 +01:00
Simon Morlat
ee344c2708 fix regression in lime support 2015-12-22 11:47:16 +01:00
Simon Morlat
cb49c4f342 repair sending of messages with external-body URL 2015-12-21 10:59:19 +01:00
Simon Morlat
272d1ac8ea fix memory leaks
reuse same sip.instance in account manager of tester
2015-03-16 16:22:19 +01:00
Simon Morlat
b2b1410a69 fix multiple memory leaks 2015-03-13 15:18:08 +01:00
Simon Morlat
0c404d7516 fix compilation warnings, non-portable code and make distcheck 2015-03-12 22:57:37 +01:00
Johan Pascal
d133ebd5eb Merge remote-tracking branch 'linphone-public/master' into dev_lime 2015-02-26 22:46:24 +01:00
Guillaume BIENKOWSKI
f2a4cb60d2 Fix a crash when an absolute address is passed to linphone_core_invite.
See bug #2009.
2015-01-15 11:37:30 +01:00
Johan Pascal
60cadbb6c6 Fix memory leaks (LIME related) 2014-09-30 22:55:55 +02:00
Johan Pascal
f942fdeb3b Fix merge
and make code C90 compliant
2014-09-28 23:02:19 +02:00
Johan Pascal
cb4b534a4d Lime gives more explicit warning messages 2014-07-13 00:31:58 +02:00
Johan Pascal
6bdc649624 Add encrypted file transfer message
+ test for the encrypted text message
+ fix bug introduced in last merge
2014-06-12 00:49:36 +02:00
Johan Pascal
b302a87c72 Merge with public master to include the file transfer
- update message test to pass the one with lime disabled
2014-06-10 11:36:26 +02:00
Johan Pascal
c10b5f652b File transfer implemented following RCS5.1 recommendation
- memory leaks to be fixed
2014-05-29 00:10:49 +02:00
Johan Pascal
6b6ff7bb2b Don't send message in plain if no cache is found 2014-04-28 22:03:27 +02:00
Johan Pascal
c6d02779a3 Debug trace cleaning 2014-04-25 21:48:44 +02:00
Johan Pascal
26ada60683 Complete LIME integration into liblinphone
- add a boolean into linphoneCore to check if encryption is requested
- move encryption/decryption from chat.c to sal_op_message.c
- check encrypted message validity
- return error to application when enable to encrypt/decrypt
2014-04-25 21:24:50 +02:00
Simon Morlat
bd83f0b7ca fix crash while receiving a SIP message without content-type. 2014-04-09 00:00:22 +02:00
Simon Morlat
c25273e9ca add C function to disable chat 2014-03-25 12:48:50 +01:00
Simon Morlat
269f8d1c4e add new API to obtain full details about failures (calls, registration, events).
Fix bug when receiving a 487 after cancelling call, resulting in a call waiting tone to be played.
2014-03-21 18:15:28 +01:00
Simon Morlat
a45d28a328 implement receiving of in-dialog chat message 2014-03-10 17:25:44 +01:00
Guillaume BIENKOWSKI
b57f8b1526 Added 302 redirection support.
+ removed macros for sal_op_get_contact compatibility
2014-02-19 10:50:36 +01:00
Simon Morlat
c88c845e0c better handling of sip chat message failures 2014-02-13 21:49:34 +01:00
Guillaume Beraudo
93f5e85967 Expose chat message reason based on LinphoneReason.
The response code is not exposed to allow mrtp in the future.
There is no possibility to retrieve the code or the sip reason phrase.
2014-02-13 17:20:04 +01:00
Simon Morlat
931c8ade5f Revert "Expose chat message response code and reason."
This reverts commit f021e9aa51.
2014-02-12 17:47:16 +01:00
Guillaume Beraudo
f021e9aa51 Expose chat message response code and reason. 2014-02-12 16:04:48 +01:00
Ghislain MARY
d468050c8b Implement RFC3994: Indication of Message Composition for Instant Messaging. 2014-01-03 15:01:18 +01:00
Jehan Monnier
92abb3d3e5 an op is considered as secure if both from and to uri are sips 2013-09-09 12:41:17 +02:00
Jehan Monnier
eb37b082a0 remove trailling " from external body url 2013-08-04 12:28:30 +02:00
Jehan Monnier
48140cefd0 remove unwanted quotes from LinphoenMessage external body url 2013-06-24 16:27:37 +02:00
Simon Morlat
36e445f97f generic subscribe notify api in progress 2013-06-06 11:01:54 +02:00
Simon Morlat
2391436cd2 add option to allow to set contact in MESSAGE requests (specific for a SIP server) 2013-05-23 14:37:52 +02:00
Simon Morlat
313fbaa648 implement use_dates and dates in text messages. 2013-04-28 11:34:03 +02:00
Jehan Monnier
bffae8bdf4 transfer full control of registration to refresher 2013-04-11 09:18:23 +02:00