Commit graph

299 commits

Author SHA1 Message Date
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
Jehan Monnier
cc5570cae5 proxy route parameter should not be used to check if proxy server address has changed 2014-05-21 10:17:43 +02:00
Jehan Monnier
bb6d660594 rework proxy config management edit()/done() method to only send unregister message when really needed 2014-05-20 18:38:56 +02:00
Guillaume BIENKOWSKI
f27a2387d4 Add list of transient messages for messages that are still transitioning to either "delivered" or "error" state.
This allows the get_history() call to return pointers that are valid when the chat_state_changed callback is called.
2014-05-15 17:14:50 +02:00
Simon Morlat
77ff00acbc improve network state monitor so that it can take into account IP address changes. 2014-05-07 21:42:31 +02:00
Simon Morlat
3a6aa9f08d deep modifications about audio & video codec bitrates are handled.
- vbr codecs can automatically have different output bitrates depending on whether video is used and/or allowed total output bandwidth
- application can specify an output IP bitrate for a given codec, which allows to control the quality of vbr codecs.
Note: a belle-sip upgrade is required to fix a bug around channels parsing in rtpmap.
2014-05-02 20:24:51 +02:00
Jehan Monnier
078e2d461d change LinphoneEvent from/to management to only use op 2014-04-25 15:07:37 +02:00
Simon Morlat
0e9a92ef5a declare prototype 2014-04-24 19:05:01 +02:00
Jehan Monnier
2d1c999fc5 add proxy config setter for publish expiration 2014-04-23 12:50:16 +02:00
Simon Morlat
02918fba1b factorize call stats filling 2014-04-23 00:55:32 +02:00
Gautier Pelloux-Prayer
ceb8533cf9 Merge branch 'quality_reporting'
Conflicts:
	coreapi/linphonecall.c
	mediastreamer2
	tester/call_tester.c
2014-04-22 14:42:20 +02:00
Gautier Pelloux-Prayer
f3efcb1286 Quality reporting: fix unit tests, and remove some trailing spaces 2014-04-17 16:58:50 +02:00
Gautier Pelloux-Prayer
424d75b265 Quality reporting: release content after publishing it to avoid memory leaks 2014-04-17 16:38:51 +02:00
Gautier Pelloux-Prayer
0762b56a36 Quality reporting: let the config file choose if it should enable or not this feature (per account choice) 2014-04-17 16:38:51 +02:00
Gautier Pelloux-Prayer
a1c1f3013e Quality reporting: verify values before adding them to the report 2014-04-17 16:38:39 +02:00
Gautier Pelloux-Prayer
0200eb2213 Quality reporting: remove unimplemented fields and split content filling to an one-field-at-a-time process 2014-04-17 16:38:39 +02:00
Gautier Pelloux-Prayer
3c71544b24 Store reporting struct in linphone call 2014-04-17 16:38:39 +02:00
Gautier Pelloux-Prayer
ce0d3bde0e Set timestamp_to_string method accessible from other coreAPI files 2014-04-17 16:38:38 +02:00
Jehan Monnier
43aa6ef34f change encryption state management 2014-04-17 16:22:49 +02:00
Simon Morlat
f9c8c72c01 refactor ICE in liblinphone so that processing is centralized in a few methods, rather than spread into several methods. 2014-04-17 16:02:25 +02:00
Simon Morlat
5e3ff318d9 add ref count to LinphoneChatMessage 2014-04-11 11:51:38 +02:00
Simon Morlat
7bd50e004f allow usage of system-choosen random ports.
Implies a lot of refactoring in streams management.
2014-04-07 17:37:50 +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
c25273e9ca add C function to disable chat 2014-03-25 12:48:50 +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
Simon Morlat
d032c1d3c9 Merge branch 'master' of git.linphone.org:linphone
Conflicts:
	coreapi/linphonecore.h
	coreapi/private.h
2014-03-18 17:32:23 +01:00
Simon Morlat
a7aab35b4f add function to override common telephony tones by wav files 2014-03-18 17:12:40 +01:00
Jehan Monnier
260e7e1d5c minimal SIP UPDATE support 2014-03-18 09:08:25 +01:00
Simon Morlat
a0b7b1f3b0 rework implementation of SUBSCRIBEs delayed to successful registration.
In case of network errors, SUBSCRIBE could be sent before registration refresh, this should be fixed.
2014-03-11 17:25:07 +01:00
Simon Morlat
a45d28a328 implement receiving of in-dialog chat message 2014-03-10 17:25:44 +01:00
Simon Morlat
95030951d1 add new function to play a file locally, in or out of calls.
add new function to define a tone or wav file to be played automatically upon call errors
2014-03-04 22:58:56 +01:00
Simon Morlat
15c8ed30f5 modify event API to allow adding custom headers.
It is now possible to first create the LinphoneEvent, configure it with custom headers, then send it.
2014-02-21 18:34:52 +01:00
Simon Morlat
7330cae8a2 fix crash 2014-02-19 11:50:18 +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
9d5c1e7403 add possibility to set/get subject in SDP 2014-02-18 17:30:52 +01:00
Simon Morlat
5214931034 add new log to track auth info added interactively. 2014-02-14 18:04:16 +01:00
Guillaume Beraudo
93f5e85967 Expose chat message reason based on LinphoneReason.
The response code is not exposed to allow mrtp in the future.
There is no possibility to retrieve the code or the sip reason phrase.
2014-02-13 17:20:04 +01:00
Simon Morlat
931c8ade5f Revert "Expose chat message response code and reason."
This reverts commit f021e9aa51.
2014-02-12 17:47:16 +01:00
Sylvain Berfini
f76c0ead31 Improved remote provisioning code + added test suite for it 2014-02-12 17:21:22 +01:00
Guillaume Beraudo
f021e9aa51 Expose chat message response code and reason. 2014-02-12 16:04:48 +01:00
Sylvain Berfini
a6d0ce4b4c Fix infinity loop due to latest GlobalState introduced 2014-02-10 17:02:35 +01:00
Simon Morlat
16066bea7a remove useless code 2014-02-07 11:21:35 +01:00
Guillaume BIENKOWSKI
ba06368167 Revert linphone_call_get_ring_duration() method, and use the call log to get ring time.
Also moved start_time considerations to the call log to clean up a bit.
2014-01-31 12:03:42 +01:00
Simon Morlat
092375c98a SDP offer answer fix: declined streams must remain as inactive in future offers. 2014-01-24 11:11:24 +01:00
Simon Morlat
bc078d65d2 fix translations for mac os 2014-01-22 14:32:10 +01:00
Simon Morlat
22e1427eb3 fix automatic resuming of calls after failed failed transfer 2014-01-21 12:17:39 +01:00
Guillaume BIENKOWSKI
ae6948ded3 Moved belle sip object includes into private.h 2014-01-09 09:38:16 +01:00
Simon Morlat
95246f5161 fix problem with media encryption not set in params for incoming calls 2014-01-06 16:34:51 +01:00
Ghislain MARY
d468050c8b Implement RFC3994: Indication of Message Composition for Instant Messaging. 2014-01-03 15:01:18 +01:00
Simon Morlat
d777e00ac9 change behavior of LinphoneCall::camera_enabled
It is now an application preference, the core never modifies it.
It represents whether the camera is allowed to be sent (in case of video request).
2013-12-20 10:40:04 +01:00