Commit graph

350 commits

Author SHA1 Message Date
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
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
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
Simon Morlat
3e1e3c93f4 fix crash when declining an update
refine conditions for refusing an UPDATE
2014-09-25 14:15:06 +02:00
François Grisez
df8d324aa7 Change naming convention of variables 2014-09-18 16:03:45 +02:00
Simon Morlat
3e39cc5758 remove warning that produces all the time 2014-09-18 12:24:27 +02:00
Simon Morlat
49b5e76b6a update ms2, ortp to use new ortp_random() 2014-09-16 15:46:52 +02:00
François Grisez
32cd807f61 Change the implementation of sal_enable_tunnel and sal_disable_tunnel 2014-09-15 11:32:42 +02:00
Jehan Monnier
a3e84af3fb fix incoming UPDATE without sdp (session timer case) 2014-09-11 15:08:45 +02:00
Simon Morlat
6337fe8429 fix crash in test and memory leak of LinphoneCallParams 2014-09-08 22:05:29 +02:00
Simon Morlat
f4a4a6440b Support for incoming UPDATEs within dialog.
For tests, the possibility to send an UPDATE with linphone_core_update_call() has been added thanks to a $
Added possibility to configure Supported SIP header.
2014-09-08 19:02:29 +02:00
Jehan Monnier
4be60e396d fix liblinphone useragent 2014-09-02 09:09:39 +02:00