Commit graph

1592 commits

Author SHA1 Message Date
François Grisez
85b5ca097a Reworking of Liblinphone API
* Introduction of LinphoneFactory singleton class to create
  core-independent object like LinphoneAddress or LinphoneVcard.
* Make several C structures inherite from belle_sip_object_t class:
	* LinphoneCore
	* LinphoneVcard
	* LinphoneAuthInfo
* Creation of the LinphoneCoreCbs class that enable to store the
  callbacks used by LinphoneCore.
2017-01-12 17:47:01 +01:00
Ghislain MARY
19d47a6478 Fix call repair when in paused state. 2017-01-12 12:00:21 +01:00
Jehan Monnier
a5361924f2 add unit tests 2017-01-11 14:39:22 +01:00
Ghislain MARY
292a798178 Set IPv6 address in RTP IO mode test if IPv6 is enabled. 2017-01-11 14:16:58 +01:00
Sylvain Berfini
e7213322b1 Fix issue in some RTT tests 2017-01-10 12:12:35 +01:00
Ghislain MARY
d55353a7c6 Use our own implementation of getnameinfo(). 2017-01-10 11:03:46 +01:00
Ghislain MARY
9fa30c5c20 Handle error cases in IMDN notifications. 2017-01-09 16:55:16 +01:00
Ghislain MARY
3f25339708 Add an iterate call when tunnel is connected so that the callback is called before going further. 2017-01-05 10:14:59 +01:00
Ghislain MARY
19007584c4 Fix crash in remote provisioning tests. 2017-01-04 11:23:56 +01:00
Ghislain MARY
bf849dd3fa Fix bug 0001391: An incorrect presence activity is added if not is contained in a received presence XML. 2017-01-03 17:52:56 +01:00
Ghislain MARY
6e686b4cfd Fix bug 0003404: crash during ice re-invite in case of video only incoming call. 2017-01-03 16:46:52 +01:00
Ghislain MARY
e34327f58f Handle IM notification policy. 2017-01-03 14:56:56 +01:00
Ghislain MARY
f9ae431782 The (is_)read field of a LinphoneChatMessage is now deprecated, the LinphoneChatMessageStateDisplayed state is used instead. 2017-01-03 14:56:17 +01:00
Ghislain MARY
7889b0610b Store weak references of chat messages in the chat room to be able to returned the same LinphoneChatMessage object to the application. 2017-01-03 14:56:17 +01:00
Ghislain MARY
410f5b9e1c Revert message callbacks moved to LinphoneChatRoom instead of LinphoneChatMessage. 2017-01-03 14:56:17 +01:00
Ghislain MARY
9867c2fee7 Send and receive imdn. 2017-01-03 14:56:17 +01:00
Sylvain Berfini
41b9cf9c67 Fix allocs and frees in lime 2017-01-03 12:29:39 +01:00
Sylvain Berfini
78d88d8b75 Increased carddav tests timeout 2017-01-02 12:47:45 +01:00
Simon Morlat
00f620c58a Add a test for zrtp silent calls (with no RTP packets transmitted).
This tries to replicate a reported issue where the HELLO packet was never repeated.
This commit also fixes the assert of SAS code equality, that was passed only if SAS are known.
A zrtp call without SAS would pass the test before.
2016-12-21 23:05:48 +01:00
Sylvain Berfini
97a73f1c60 Added message test 2016-12-20 15:52:27 +01:00
Ghislain MARY
66887a5200 Move some documentation from the source code to the headers. 2016-12-20 12:05:42 +01:00
Sylvain Berfini
5eb5ea3473 Fixed RTT character not being freed correctly + RTT test with SRTP failing if SRTP not available 2016-12-15 15:26:09 +01:00
Simon Morlat
2ad32695a5 adjust timers and document a test that tends to fail sometimes. 2016-12-13 22:26:19 +01:00
Simon Morlat
5d73bb8232 fix undefined prototypes (makes error in windows build) 2016-12-10 18:20:30 +01:00
Simon Morlat
0bbfd5673b fix potential crash in eventapi tester 2016-12-10 13:19:08 +01:00
Simon Morlat
83983ae9ac fix race condition in test. Indeed, the SUBSCRIBE is refreshed after the 40 seconds inactivity period, which allows the new presence test to be received. 2016-12-09 18:03:13 +01:00
Sylvain Berfini
835f9e4334 Clean temporary files created by Message suite in tester 2016-12-07 17:20:48 +01:00
Sylvain Berfini
85d8e09d59 Call IM Encryption Engine outoing & incoming callbacks also for composing messages, but do nothing with lime + test 2016-12-05 12:07:11 +01:00
Simon Morlat
a878da624f fix compilation issues when sqlite storage is disabled 2016-12-03 13:28:14 +01:00
Sylvain Berfini
9a26b72164 Merge remote-tracking branch 'private/dev_im_encryption_engine' 2016-12-01 11:12:10 +01:00
Simon Morlat
717ea1ee62 use mire for faster i-frame loss recovery 2016-11-26 16:06:39 +01:00
Simon Morlat
ea13fcfe5a Fix test: the loop for creating a random phone number was incorrect and potentally left an invalid character at the end. 2016-11-25 18:20:44 +01:00
Ghislain MARY
ecfa022a86 Define variable at the beginning of the function. 2016-11-24 11:39:48 +01:00
Simon Morlat
92b69f74e8 add missing files to CMakeList.txt 2016-11-24 09:21:46 +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
Erwan Croze
6c5cbe79bc Fix liblinphone tester windows 2016-11-22 16:03:59 +01:00
Simon Morlat
2508ed05fe fix config file 2016-11-17 15:19:05 +01:00
Simon Morlat
8660efcfad add new tests in Flexisip suite in order to test that flexisip properly accept and reject clients using TLS client based authentication. 2016-11-17 15:03:05 +01:00
Sylvain Berfini
a09f0f8abd Added Skip flag for Publish/subscribe flexisip test 2016-11-16 15:47:41 +01:00
Jehan Monnier
b8c40dc110 improve friend.find_presence_model_for_uri_or_tel, fix core.interpretUrl to normalize both phones and usernames 2016-11-16 09:04:57 +01:00
Ghislain MARY
0536806782 One more compilation fix. 2016-11-15 15:05:51 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Sylvain Berfini
8aa812b133 Fixed uploaded file not being encrypted when using file body handler for upload
(requires commit e69a6d2c1b3edb0dff47f072e1cddc6ded06eaba from belle-sip branch dev_body_handler_inception)
2016-11-15 12:21:16 +01:00
Jehan Monnier
de4b77f54e make sure normalized phone numbers are computed for each new subscription to take into account potentiel proxy config changes. 2016-11-15 09:27:02 +01:00
Sylvain Berfini
d3333be071 More tests for lime file transfer + few improvements 2016-11-14 16:49:22 +01:00
Sylvain Berfini
e51fee9e5b Fixed some message tests by removing previously downloaded file 2016-11-14 14:39:50 +01:00
Sylvain Berfini
b45e6dcc8d Added remove custom header method for chat message + test 2016-11-14 11:39:10 +01:00
Ghislain MARY
73d742480b Add a comment to explain why a test can fail. 2016-11-10 16:29:35 +01:00
Sylvain Berfini
2a6e7ce241 Added more transfer tests to try all four combinations of upload/download body handlers 2016-11-10 15:56:42 +01:00
Ghislain MARY
a49af3e965 Fix build for Windows 10. 2016-11-10 11:42:13 +01:00