Commit graph

157 commits

Author SHA1 Message Date
Ghislain MARY
cafb1dfa3e Fix strict-prototypes warnings. 2015-11-20 17:56:11 +01: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
Jehan Monnier
a919e56787 no longer associate http proxy to sips only but allow https 2015-09-25 15:30:03 +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
0307ee5fa3 fix crash and memleak in test. 2015-09-18 10:21:10 +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
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
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
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
Johan Pascal
c95fd55126 DTLS-SRTP fix memory leak 2015-01-20 00:59:25 +01:00
Johan Pascal
e93a80f322 Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-05 18:17:05 +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
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
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
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
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
Simon Morlat
ec0a93b632 prevent unnecessary lookup in pending auth list 2014-08-27 12:04:59 +02:00
Gautier Pelloux-Prayer
82ec76a4e1 Reuse previous nonce if outbound proxy realm is set to avoid reauthentication 2014-07-25 14:37:01 +02:00
Simon Morlat
93a0794c39 fix remote user-agent not set correctly in case of call forking 2014-06-26 17:32:37 +02:00
Gautier Pelloux-Prayer
5cf381b667 add linphone_core_get_user_agent to retrieve local user agent 2014-06-24 14:17:11 +02:00
Simon Morlat
0d5af07a7e fix memory leaks 2014-06-10 16:30:47 +02:00
Simon Morlat
649a5a5fe8 fix memory leaks 2014-06-09 22:14:06 +02:00
Simon Morlat
2f8244d39b memory leak hunting 2014-06-06 10:07:25 +02:00
Simon Morlat
f9c01ebdb4 fix ICE status not updated at callee side in case of video mline rejected.
add new tests.
2014-06-05 16:00:41 +02:00
Jehan Monnier
ba5c902bba add option sip_update to linphonerc to disable SIP UPDATE 2014-06-03 10:24:44 +02:00
Simon Morlat
fbc8f77e3a allow crypto lines to be configured from linphonerc, and improve code handling SRTP crypto lines 2014-05-21 13:11:13 +02:00
Simon Morlat
7553aa6492 - linphone now puts Route headers in requests (except register) for outbound proxy configurations, according to RFC3261
This behavior can be reverted by putting [sip]->use_no_initial_route=1 in the configuration file.
- accept presence NOTIFY without bodies, instead of replying 415
- remove belle-sip warning at start due to stack not created early enough.
2014-04-25 23:13:26 +02:00
Gautier Pelloux-Prayer
4386f18b21 replace tabs with spaces and remove trailing spaces 2014-04-22 17:22:51 +02:00
Simon Morlat
274d50168e implement digest authentication for anonymous calls (with id privacy) 2014-04-02 22:23:52 +02:00
Simon Morlat
3013fd8ae2 allow configuration of root_ca before provisioning, so that it can be used for https fetching 2014-03-26 17:51:47 +01:00
Simon Morlat
266207c5f0 change behavior of linphone_core_get_sip_transports() if random port selection was specified.
Only linphone_core_get_sip_transports_used() will return the real port if random port selection was specified.
2014-03-26 11:30:07 +01:00
Simon Morlat
250495034e rely on belle-sip ability to choose SIP transport random port using bind(). 2014-03-25 22:48:17 +01:00
Simon Morlat
269f8d1c4e add new API to obtain full details about failures (calls, registration, events).
Fix bug when receiving a 487 after cancelling call, resulting in a call waiting tone to be played.
2014-03-21 18:15:28 +01:00
Jehan Monnier
260e7e1d5c minimal SIP UPDATE support 2014-03-18 09:08:25 +01:00
Simon Morlat
c7f23e6494 set default value of video renderer 2014-03-17 11:40:36 +01:00
Simon Morlat
1af4a7c091 improve SDP<->SalMediaDescription conversion and offer answer algorithm 2014-02-28 16:31:05 +01:00
Simon Morlat
519430c42e simplify creation of custom headers 2014-02-19 22:35:48 +01:00