Commit graph

504 commits

Author SHA1 Message Date
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
Simon Morlat
f9aee35116 heavy rework of lists, presence list subscriptions, and fix many memory leaks 2016-09-22 22:10:36 +02:00
Sylvain Berfini
2af5925e6f Added API to set RootCA by buffer instead of file 2016-09-20 14:20:52 +02:00
Sylvain Berfini
f575f94bb4 Added methods to set TLS certificate/key on LinphoneAuthInfo + updated auth_info_requested callback 2016-09-20 12:44:43 +02:00
Simon Morlat
1bc6f63db2 media_localip is guessed from signaling using call->dest_proxy. This ease the use of liblinphone on a machine with two interfaces (typically a one being a vpn).
Clean things around sal.c and sal_impl.c
2016-09-06 11:16:10 +02:00
Ghislain MARY
0af986526d Add more address API. 2016-07-29 11:09:45 +02:00
Ghislain MARY
dd6f88691d Extend address API to handle parameters. 2016-07-29 11:09:45 +02:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Ghislain MARY
5dc6c5cb10 Add API and config parameter to enable/disable DNS search. 2016-07-13 13:45:05 +02:00
Ghislain MARY
300c8b8737 Fix build for Windows 10. 2016-07-04 15:20:13 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Ghislain MARY
c13647f8bd Treat warnings as errors on Windows. 2016-06-16 12:23:53 +02:00
Jehan Monnier
3b84bfcaf9 improve nat64 support for Apple platform 2016-06-07 13:59:13 +02:00
Ghislain MARY
fc1fed70fe Merge branch 'master' into dev_turn 2016-06-01 14:56:52 +02:00
Simon Morlat
e4c674c2e3 implement the sending of out-of-dialog NOTIFYs, and add non-regression test
This fixes a crash producing all the time when receiving such out-of-dialog NOTIFY.
2016-05-27 23:03:05 +02:00
Ghislain MARY
b08cdb2212 Fix compilation error. 2016-05-26 17:57:29 +02:00
Ghislain MARY
e224761160 Handle DNS SRV resolution of STUN server. 2016-05-20 10:50:54 +02:00
Jehan Monnier
aaa2c3c194 change bctoolbox_ to bctbx_ 2016-05-18 16:15:32 +02:00
Jehan Monnier
030de1f36f make sure dialog created by NOTIFY can be attached to a valid op 2016-05-17 15:19:01 +02:00
Jehan Monnier
026bbe8db3 Implement support of dialog created by Notify matching subscription 2016-05-11 14:54:38 +02:00
Simon Morlat
63bc42a555 fix AVPF management in offer-answer. Initiate an implicit avpf offer while implicit avpf is locally disabled
should result in avpf disabled locally for these payloads.
2016-05-09 20:47:28 +02:00
Gautier Pelloux-Prayer
7cf0e80eac sal_impl.c: discard out of dialog ACK with invalid to-tag 2016-05-09 12:05:19 +02:00
Gautier Pelloux-Prayer
0d0ecca305 presence_server: fix memory leaks 2016-04-29 16:40:49 +02:00
Simon Morlat
8c521d1ba3 implicit avpf bugfixes: do not configure encoders to use avpf if avpf is not accepted or offered by remote. 2016-04-29 15:13:05 +02:00
Johan Pascal
70a429cdff Merge branch 'master' into zrtphash
Conflicts:
	coreapi/linphonecall.c
2016-04-11 10:57:11 +02:00
Johan Pascal
02ebeac3f1 Manage zrtp-hash attribute
- ZRTP engine is always initialised even when not selected
2016-04-11 10:54:53 +02:00
Gautier Pelloux-Prayer
92a44a6104 Revert "Revert "presence_tester.c: add some long term tests""
This reverts commit e2609f96a4.
2016-04-06 16:53:56 +02:00
Gautier Pelloux-Prayer
e2609f96a4 Revert "presence_tester.c: add some long term tests"
This reverts commit 9eca896269.
2016-04-04 15:13:11 +02:00
Gautier Pelloux-Prayer
9eca896269 presence_tester.c: add some long term tests 2016-04-01 15:39:34 +02:00
Sylvain Berfini
889c2e1974 Added method to configure ssl_config for sal and http provider 2016-03-23 16:23:03 +01:00
Simon Morlat
4048f97dea fix p2p presence case related to io_errors. 2016-03-18 22:31:20 +01:00
Jehan Monnier
966c7caa2d -fix many memory leak
-unsubscribe in linphone_core_uninit
2016-03-10 18:58:44 +01:00
Ghislain MARY
5baf4362f0 Fix some depreciation warnings. 2016-03-10 17:57:27 +01:00
Gautier Pelloux-Prayer
808a826c0f sal: fix sal_reason_to_sip_code prototype (returns int, not SalReason) 2016-03-07 14:25:46 +01:00
Simon Morlat
3644599159 fix big bug breaking all peer to peer presence 2016-03-04 22:58:43 +01:00
Sylvain Berfini
5cd1775ed3 Merge branch 'master' into dev_vcard
Conflicts:
	tester/Makefile.am
2016-03-02 10:41:24 +01:00
Simon Morlat
5587e26246 respond 481 when dialog cannot be created. 2016-03-01 17:01:34 +01:00