Commit graph

127 commits

Author SHA1 Message Date
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
Guillaume BIENKOWSKI
b57f8b1526 Added 302 redirection support.
+ removed macros for sal_op_get_contact compatibility
2014-02-19 10:50:36 +01:00
Simon Morlat
bddbdc7cd8 provisioning in gtk app in progress 2014-02-12 14:25:52 +01:00
Simon Morlat
a96c066572 re-enable test "TLS with non tls server" (works with lastest belle-sip) 2014-02-07 18:44:39 +01:00
Jehan Monnier
af18f7293b replace belle_aip_header_extension by belle_sip_header 2014-02-07 14:58:53 +01:00
Jehan Monnier
5c7330b17f avoid 100 trying to reset op auth counters 2014-02-06 15:10:29 +01:00
Jehan Monnier
0dae0d3320 reset op auth count in case of io error 2014-02-04 11:29:24 +01:00
Jehan Monnier
0eef5c5ecb rework behavior for 403/401/407 auth failure to avoid loop and make sure retry are always done 2014-01-30 16:18:38 +01:00
Simon Morlat
b999c757fc fix rare crash in sal
update oRTP
2014-01-28 21:22:28 +01:00
Ghislain MARY
d468050c8b Implement RFC3994: Indication of Message Composition for Instant Messaging. 2014-01-03 15:01:18 +01:00
Simon Morlat
6b263466e0 fix another alloc/free mismatch (required for windows) 2013-12-10 21:45:44 +01:00
Simon Morlat
a610adecf4 add supported header 2013-12-09 12:19:49 +01:00
Ghislain MARY
e67a8737dd Add configuration to enable/disable DNS SRV resolution. 2013-12-05 14:52:57 +01:00
Simon Morlat
f72ac202cf fix build issue in ms2 2013-11-29 19:17:48 +01:00
Simon Morlat
a8d304fd8f * implement reporting of dtmf received via SIP info
* dtmf can be typed on keyboard with gtk app.
2013-11-28 11:59:35 +01:00
Simon Morlat
41f0390f93 generate SRTP keys more securely
simplify management of SalMediaDescription
take into account changes in local encryption keys while updating streams.
2013-11-27 16:50:25 +01:00
Jehan Monnier
e0256b1f7a fix compilation issue 2013-11-21 16:26:44 +01:00
Guillaume Beraudo
9c955aed32 Fix a few leaks. 2013-11-21 15:50:31 +01:00
Guillaume Beraudo
e8225e64b9 Basic client certificates API 2013-11-21 13:54:31 +01:00
Simon Morlat
82eaf99776 adapt to new resolver api. 2013-11-17 22:29:59 +01:00
Simon Morlat
0177c5f876 fix compilation errors due to signature change in linphone_auth_info_new()
fix failed tests in case of failed authentication.
2013-11-05 22:00:19 +01:00
Simon Morlat
811b453d06 add a domain parameter in LinphoneAuthInfo, to workaround non-unicity of realm in real world. 2013-11-04 15:00:50 +01:00
Simon Morlat
b012c49dab answer 481 to unmatched CANCELs (instead of 501) 2013-10-30 12:25:05 +01:00
Jehan Monnier
a5c40facf6 add tests to make sure unsuccesfull incall transactions do not abort the call. 2013-10-11 10:31:56 +02:00
Simon Morlat
573f530569 remove all getaddrinfo() blocking calls from coreapi.
Stun server is resolved asynchronously.
2013-09-27 11:41:15 +02:00
Ghislain MARY
ae764ae952 Always use int values for getter/setter of LinphoneAddress port. 2013-09-19 16:12:40 +02:00
Simon Morlat
fed415507f enhance event API to be notified of publish states.
lp-gen-wrappers is in progress
2013-09-17 14:03:52 +02:00
Jehan Monnier
5c88a8dd21 fix crash in sal_process_authentication when auth cannot be sent synchronously 2013-09-16 16:41:04 +02:00
Simon Morlat
358516fd68 prevent publish to be sent while client is registering on the same proxy. 2013-09-09 14:14:27 +02:00
Simon Morlat
77b06af7a1 fix crash and update ms2 2013-09-05 17:19:52 +02:00
Simon Morlat
9a671657c6 make use of bellesip's new dialog's request queue to fix bugs around transfer notification
add notification of failed transfers (new test in call suite for that)
In case of failed transfer, referer call is resumed (if necessary) and notified of the failure.
remove deprecated code.
2013-09-03 22:34:04 +02:00