Commit graph

408 commits

Author SHA1 Message Date
Ghislain MARY
a4d8d5857b Fix bug with AVPF features being wrongly negociated when using DTLS. 2015-10-27 12:24:56 +01:00
Simon Morlat
aa7adfdac7 fix crash when receiving an invalid 200Ok for INVITE 2015-10-24 10:10:52 +02:00
Simon Morlat
4b7f92995a fix compilation issue 2015-10-20 22:23:41 +02:00
Simon Morlat
02ef798b58 fix crash with presence. A subscribe refresh must be notified to the upper layer. 2015-10-20 11:42:14 +02:00
Simon Morlat
61061fa307 implement transaction_timeout handler for presence 2015-10-20 09:57:48 +02:00
Simon Morlat
17f575229b fix crash and compilation issue 2015-10-19 13:04:04 +02:00
Simon Morlat
59b7e88d7d add new test 2015-10-19 12:55:08 +02:00
Simon Morlat
30838c9985 fix bug made visible by previous commit 2015-10-18 22:03:14 +02:00
Simon Morlat
08d0a6089c automatically close call during early states when the initiating transaction is closed prematurely (network disconnection for example).
add new tests for this.
2015-10-18 17:21:32 +02:00
Simon Morlat
73cfad320d fix memory leaks around presence 2015-10-16 22:59:28 +02:00
Simon Morlat
a9d34e7b0f fix memory leaks and unreleased dialogs in presence management 2015-10-16 21:16:38 +02:00
Simon Morlat
177e400ddd fix memory leaks and flaws around presence 2015-10-15 16:46:48 +02:00
Simon Morlat
1dc50acfd1 fix avpf attributes not set when SRTP-DTLS is used. 2015-10-15 11:42:11 +02:00
Ghislain MARY
c149a6da7e Add API to handle custom SDP attributes. 2015-10-07 10:55:10 +02:00
Ghislain MARY
9e54fc0343 Remove duplicated definitions of payload_type_set_number and payload_type_get_number. 2015-10-01 14:56:18 +02:00
Ghislain MARY
61ac1f8173 Fix compilation warnings when building for Windows 10. 2015-10-01 14:29:00 +02:00
Jehan Monnier
a919e56787 no longer associate http proxy to sips only but allow https 2015-09-25 15:30:03 +02:00
Simon Morlat
8eba183b17 fix memory leaks 2015-09-24 17:25:35 +02:00
Jehan Monnier
56a08e7fab fix compilation issue 2015-09-24 16:57:39 +02:00
Jehan Monnier
4a21150da7 merge add http proxy for sip 2015-09-24 16:48:19 +02:00
Simon Morlat
0f1cf8b14a fix various recent problems with SDP offer/answer and ICE.
Most problematic was that declined streams were not put in SDP answers.
2015-09-24 16:44:07 +02:00
Sylvain Berfini
b5d0667594 Merge branch 'dev_rtt' 2015-09-22 11:12:34 +02:00
Simon Morlat
0307ee5fa3 fix crash and memleak in test. 2015-09-18 10:21:10 +02:00
Sylvain Berfini
c8f1f3b61e Do not use anymore nb_streams but SAL_MEDIA_DESCRIPTION_MAX_STREAMS and skip inactive ones because active streams won't be at the start of the array anymore 2015-09-16 15:23:01 +02:00
Sylvain Berfini
15b6353e30 Started rework of streams' indexes for RTT 2015-09-15 17:27:40 +02:00
Simon Morlat
ed2385ce28 Refactoring of states, handling of media direction, late offering and so on.
Almost working except one test.
2015-09-03 21:39:58 +02:00
Ghislain MARY
91d5a217cb Fix ssrc in SDP for interop with Chrome. 2015-08-18 14:32:44 +02:00
Ghislain MARY
53ccb2c564 Handle and add test for AVPF generic NACK. 2015-08-03 12:41:17 +02:00
Jehan Monnier
2712cb4834 Clear pending tcp/tls address of record in case of network change. Very useful for legacy SIP server with no sip instance support and limited number of air. 2015-07-29 17:09:04 +02:00
Johan Pascal
da686748e3 Fix mixed declaration compilation warning 2015-07-23 14:10:50 +02:00
Jehan Monnier
4073c6e0d0 Restaure previous state in case of call update failure due to pending transaction 2015-07-23 09:20:47 +02:00
Jehan Monnier
e59db8daec Answer 500 server internal error in case of unexpected request arriving at core level 2015-06-25 12:20:04 +02:00
Gautier Pelloux-Prayer
1f49ce76a3 logging: do not use switch case for log levels since these are flags... 2015-06-22 10:20:23 +02:00
François Grisez
205527934d Fix build issue 2015-06-22 09:39:21 +02:00
Gautier Pelloux-Prayer
794ccbaad5 logging: use sal_set_log_level instead of sal_enable_logs and sal_disable_logs so that we have a finer control of logs verbosity 2015-06-19 14:42:15 +02:00
Ghislain MARY
12629a26b6 Fix bug in AVPF features negotiation + add tests to prevent regressions on this matter. 2015-06-03 10:19:35 +02:00
Ghislain MARY
d9416f1eec Negotiate RPSI as positive feedback that is the way we are using it in Linphone, keeping compatibility with older versions of Linphone. 2015-06-01 14:14:42 +02:00
Ghislain MARY
1f6fcb6393 Fix negociation of rtcp-fb attributes in SDP.
Some attributes could be added by us on incoming call whereas it should
not be done.
2015-05-18 15:36:18 +02:00
Jehan Monnier
83f4d95545 implement compatibility mode for sdp cnx adde set to 0.0.0.0 in case of send only
param: [sip,cnx_ip_to_0000_if_sendonly_enabled]  with default value 0
2015-03-27 14:17:39 +01:00
Jehan Monnier
e5933c61bd improve calls in send-only/receive-only mode 2015-03-25 14:37:02 +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
Jehan Monnier
084e21cbde fix dtls sdp path when dtls attribute are in sdp session 2015-02-25 09:36:17 +01:00
Sylvain Berfini
21f9d22b0a Added accept header in register 2015-02-24 15:55:07 +01:00
Jehan Monnier
587299ce03 fix crash in case of transport change when call is on error 2015-02-19 17:17:39 +01:00
Guillaume BIENKOWSKI
93486c97e0 Cosmetics 2015-02-18 15:16:08 +01:00
Guillaume BIENKOWSKI
56e58d0cee Change the SDP removal mechanism for something a bit more tunable.
There is now an "SDP handling mode": you can choose between normal, simulate removal of SDP or simulate SDP error.
This allows for simulating 200 OK without SDP, for instance (a unit test is coming for this).
2015-02-18 15:16:08 +01:00
Simon Morlat
d060f4bd65 fix warning 2015-02-16 18:33:00 +01:00