Commit graph

383 commits

Author SHA1 Message Date
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
Jehan Monnier
ccb890ad94 simplify dtls session/media description attributes mgt 2015-02-16 17:50:41 +01:00
Simon Morlat
589d3cd540 appnaping improvements
- take a background task during the ice gatethering for incoming call
- add timestamps to gtk debug window, which was required to investigate the issue.

Requires up to date belle-sip
2015-02-06 19:31:42 +01:00
Simon Morlat
59758df62d add custom header API to proxy config 2015-02-05 20:34:38 +01:00
Jehan Monnier
06fc0526ec multicast impl 2015-02-04 12:17:14 +01:00
François Grisez
d2d0458cae Fix bug #1961
Fix crash when receiving an INVITE message with an empty body
2015-02-03 14:53:42 +01:00
Simon Morlat
53bc2cd5a0 add tests to check sips and ipv6 support of flexisip 2015-02-02 18:13:55 +01:00
Johan Pascal
219451388d Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-27 10:42:06 +01:00
Guillaume BIENKOWSKI
f65ec2e2e9 Fix lengthy SDP buffer allocation 2015-01-23 16:26:57 +01:00
Simon Morlat
16180e2430 change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00
Johan Pascal
c95fd55126 DTLS-SRTP fix memory leak 2015-01-20 00:59:25 +01:00
Simon Morlat
546b953c5d fix severe bug (everything broken) 2015-01-15 21:34:14 +01:00
Guillaume BIENKOWSKI
838520350c Use const for sal_address_is_ipv6() 2015-01-15 17:19:58 +01:00
Guillaume BIENKOWSKI
0c4e7456d9 Prevent creating sip addresses which are not valid when using them 2015-01-15 17:19:45 +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
e93a80f322 Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-05 18:17:05 +01:00
Simon Morlat
76c6886119 fix potential crash when receiving an incoming call for which audio is declined (due to incompatible codecs), but video is accepted. 2014-12-22 16:23:26 +01:00
Jehan Monnier
8d13609402 various ice fix for better interwork 2014-12-15 16:02:27 +01:00
Jehan Monnier
3939954500 add ssrc attribute in case of srtp dtls 2014-12-15 13:04:40 +01:00
Jehan Monnier
20fe706f7d check if number of ice candidate does not exceed stirage size 2014-12-11 14:56:37 +01:00
Jehan Monnier
94b4002cbf fix ice parsing 2014-12-11 08:35:42 +01:00
Johan Pascal
8637eacae5 Merge remote-tracking branch 'origin/master' into dev_dtls
Conflicts:
	mediastreamer2
	oRTP
2014-12-10 15:18:14 +01:00
Johan Pascal
b986af3733 Add dtls srtp 2014-12-10 15:11:36 +01:00
Jehan Monnier
d8ce5b8904 fix crash when tunnel mode is compiled but disabled 2014-12-02 12:11:55 +01:00
Simon Morlat
93493976b3 tester automatically creates unique accounts on flexisip server before running tests. This allows several developer to run the test suite simultaneously ! 2014-12-01 15:25:54 +01:00
Jehan Monnier
e7e36bb329 add basic support for tel uri in incomming calls 2014-11-28 18:04:37 +01:00