Commit graph

371 commits

Author SHA1 Message Date
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
Guillaume BIENKOWSKI
e6209d9051 Merge commit '2e515642f07eb33974583587ddb2ee4669d4ff29' into dev_lime
Conflicts:
	coreapi/chat.c
2014-11-27 18:01:33 +01:00
Simon Morlat
89ac410152 fix crash without tunnel, fix compilation on debian 6 2014-11-16 12:09:22 +01:00
Simon Morlat
1716178e38 fix compilation without tunnel 2014-11-15 11:38:06 +01:00
Simon Morlat
d0095948b9 Allow the tunnel mode to work with any proxy config (except for sips destinations)
fix the tunnel tests, that were not working correctly.
2014-11-14 20:17:54 +01:00
Gautier Pelloux-Prayer
abe5a19431 Do not crash if SDP could not be parsed and had some unit tests. - avoid crash if missing SDP in REINVITE ACK - resume previous media parametrs instead of aborting call in case of invalid SDP in REINVITE 2014-11-06 17:25:36 +01:00
Gautier Pelloux-Prayer
1466639bac Do not notify that a call was received when INVITE was invalid and rejected (488 Not acceptable for instance) 2014-11-05 16:54:03 +01:00
Guillaume BIENKOWSKI
dec0ccb9df Merge remote-tracking branch 'public/master' into dev_lime
Conflicts:
	build/android/Android.mk
	coreapi/private.h
2014-10-31 10:47:13 +01:00
Guillaume BIENKOWSKI
2c94056796 Fix SDP overflow commit 2014-10-30 15:41:50 +01:00
Simon Morlat
de1f471a89 Revert "Fix SDP overflow"
This reverts commit 0c5309a3c8.
2014-10-29 22:59:39 +01:00
Guillaume BIENKOWSKI
18e619884c Remove dirstamp 2014-10-29 15:41:03 +01:00
Guillaume BIENKOWSKI
0c5309a3c8 Fix SDP overflow 2014-10-29 15:38:57 +01:00
Jehan Monnier
4e1e0df405 make sure session timer requires refresher to not be linphone 2014-10-14 15:37:26 +02:00