Commit Graph
85 Commits
Author SHA1 Message Date
Juha Heinanen 0533642f59 - Set volume control stream to STREAM_VOICE_CALL also when '183 Session
Progress' response is received.
- Set volume control stream to STREAM_VOICE_CALL only once.
- When call is closed, set volume control stream to DEFAULT_STREAM_TYPE.
2019-07-11 18:19:21 +03:00
Juha Heinanen 82e9a4d053 - Update DNS servers and register UAs also when network becomes available. 2019-06-22 10:51:51 +03:00
Juha Heinanen 8ca30cfe16 - Surround contact URIs between < and > only when contacts are saved to file. 2019-06-06 11:45:29 +03:00
Juha Heinanen c66e20a6ed - New version 9.3.4.
- Use communication mode only when call is (being) established.
- Introduced 2.5 sec delay to placing of a call in order to avoid loss of
  audio at the beginning of call.
- Fixed initializing default contacts when baresip is started the first time.
- Clear call URI when call is closed.
2019-06-06 11:26:13 +03:00
Juha Heinanen 0925454c54 - Get DNS servers dynamically also then baresip is started the first time. 2019-06-04 20:20:34 +03:00
Juha Heinanen f33d4a43f8 - Use Ringtone looping capability on Android P+. 2019-06-02 21:53:46 +03:00
Juha Heinanen df4874ab15 - Don't set audio mode to .MODE_IN_COMMUNICATION and call is established,
because on some devices it adds 3-4 sec delay to playing of audio.
2019-05-30 14:46:48 +03:00
Juha Heinanen 682f7d7bbe - Simplified handling of network changes. 2019-05-26 10:20:45 +03:00
Juha Heinanen 7464ad5992 - Small edits and code improvements. 2019-05-26 09:51:56 +03:00
Juha Heinanen d419304845 - By default, obtain DNS server addresses dynamically from the system. 2019-05-25 16:45:32 +03:00
Juha Heinanen 4a2d9e5309 - Fixed restoring of volume to original level if default call volume is in use. 2019-05-22 15:24:55 +03:00
Juha Heinanen 97455d7ec8 - Added support for G7221 codec.
- Added support for WebRTC based audio echo cancellation.
- Minor call notification modifications.
2019-05-20 08:26:12 +03:00
Juha Heinanen e4fbb71d16 - Tried to align alerts with material design guidelines.
- Still more work on strings.
2019-05-11 15:27:35 +03:00
Juha Heinanen 8a29dc1c6c - Removed context var from BaresipService. 2019-05-08 14:09:41 +03:00
Juha Heinanen adbf62ad7d - Replaced all strings with string resource references.
- Added missing 7.3.0 changelog file.
2019-05-08 13:42:11 +03:00
Juha Heinanen 3f861b575f - Added Listen Address config variable.
- Improved config handling with aid of new Config object.
2019-05-04 17:16:03 +03:00
Juha Heinanen 6e35a157d3 - Added 'Default Call Volume' configuration option. 2019-04-27 11:02:25 +03:00
Juha Heinanen 495e7afdba - fixed playing of notification sound when messages comes in 2019-04-24 19:52:18 +03:00
Juha Heinanen 4c0dd0e628 - added support for IPv6 (not tested due to lack of IPv6 network)
- new "Prefer IPv6" config option
- IPv6 address is allowed in DNS Server and Outbound Proxy
- added log_level config file variable
- added Google IPv6 DNS server address
2019-04-24 12:53:10 +03:00
Juha Heinanen bedcaa52f0 - Show red messages icon when unread messages exist 2019-04-20 14:42:51 +03:00
Juha Heinanen d3a8e2df41 - Fixed call, message, and call transfer actions when initiated from
notification.
- Moved save and restore messages functions to Message class.
- Coding style edits.
2019-04-20 13:17:50 +03:00
Juha Heinanen 622e0f5c0f - Fixed placing call from call history
- Use singleTask launch mode in order to avoid creating multiple
  activity stacks
- Small call history related edits
2019-04-19 21:37:22 +03:00
Juha Heinanen 8c22d96f7b - moved acquiring of wakelock to baresip service on create method
(previous commit was about main activity)
2019-04-18 21:52:40 +03:00
Juha Heinanen 4afe9ca23c - Added Debug config option to turn on/off logcat messages 2019-04-12 18:13:39 +03:00
Juha Heinanen 698c254a24 - Fixed possible crash when destroyed baresip app is started again
- Show notice when account to be created already exists
- Made level of log messages more consistent
2019-04-10 18:06:04 +03:00
Juha Heinanen 404eb979bf - Set volume controls to apply to current audio stream (may not always work)
- Audio focus implementation changes
2019-04-10 12:46:51 +03:00
Juha Heinanen 2398929578 - Removed unused imports 2019-04-09 18:12:42 +03:00
Juha Heinanen f1532db118 - Use ConnectivityManager NetworkCallbacks to detect when network
connectivity becomes available or is lost
2019-04-09 18:10:42 +03:00
Juha Heinanen 69daf94c37 - avoided a few compiler warnings about null values 2019-04-09 10:27:05 +03:00
Juha Heinanen cf5680b52b - Upgraded target Android API level to 28 (Android 9)
- Moved some non-UI functionality from main activity to baresip service
- Simplified implementation of call transfer
- Modified baresip launcher and status bar images
2019-04-08 18:47:59 +03:00
Juha Heinanen 5c29b7ea3d - fixed some baresip service log tags 2019-03-27 14:10:44 +02:00
Juha Heinanen d2d9305411 - Fixed bug in call transfer.
- Cleaner implementation of notifications.
2019-03-22 20:13:19 +02:00
Juha Heinanen 757f640b2d - Go to chat activity instead of main activity when message notification
is clicked.
2019-03-22 14:37:23 +02:00
Juha Heinanen 86f44a33e8 - gave unique request code for each pending intent 2019-03-18 06:55:19 +13:00
Juha Heinanen 613e92e868 - Resume baresip application to the activity that was stopped.
- Add example contact when baresip is started the first time.
- Fixed showing of new message in the chats and messages list.
2019-03-16 08:32:16 +02:00
Juha Heinanen e87333b305 - more chat related improvements 2019-03-13 05:58:32 +02:00
Juha Heinanen 5c476efea6 - baresip service now lets main activity to die on its own after
receiving kill intent from it
- small logging edits
2019-02-26 03:37:07 +02:00
Juha Heinanen ad2dec94e7 - call secure event is now generated also when media encoding is srtp*
allowing security button color change to yellow
- removed some debug code
2019-02-19 08:02:49 +02:00
Juha Heinanen fcaabdf610 manage all audio in baresip service 2018-12-13 10:36:29 +02:00
Juha Heinanen d535126d65 add 'opus_application voip' to config if not already there 2018-12-02 08:18:49 +02:00
Juha Heinanen 3b8f52e7b1 save unsent message when chat activity is interrupted and recover it
when user resumes the activity
2018-12-01 06:27:40 +02:00
Juha Heinanen 6f652f3872 - use countdown timer to force stop app after 5 seconds and kill after
10 seconds from quit
- removed not needed param from findAorIndex function
2018-11-25 05:45:46 +02:00
Juha Heinanen 225402f2c2 - fixed crash when empty accounts spinner is clicked 2018-11-24 04:56:56 +02:00
Juha Heinanen db7538f9db - fixed bug in checking of record audio permission
- do not load baresip lib if it has already been loaded
- removed call uri adapter when call comes in
2018-11-23 16:52:35 +02:00
Juha Heinanen 18478c3436 - all user interface unrelated data is now kept in baresip service
allowing proper recovery in case Android kills other activities
- many other improvements and bug fixes
2018-11-23 10:35:48 +02:00
Juha Heinanen a5e22786c4 - replaced message notification option "Archive" with "Save" 2018-11-18 13:44:15 +02:00
Juha Heinanen fc4e09185d - avoid possible crash when returning to main activity after deleting an
account
- use force when Quit is done again (it may still take some time to quit
  if there is no network connectivity)
- increased version codes
2018-11-11 05:32:40 +02:00
Juha Heinanen 5178edf965 - changed importance of default notification channel to low in order to
avoid noise when status notification is updated
- small cleanups
2018-11-04 09:53:31 +02:00
Juha Heinanen 3416e28f73 avoid crash at device (re)start 2018-11-03 13:15:23 +02:00
Juha Heinanen 9b98378f0c - added handling of call transfer failed event
- improved implementation of audio focus and abandon requests
- upstream re, rem, and baresip libs changes
2018-11-02 22:29:33 +02:00