-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on call initiation #18
Comments
Thanks for the report! This is a bit silly but if you have a crash it won't be in the radio log, you'll also need to get a regular Note the parsing for calls is pretty hard-coded (I still haven't taken time to fix it for my own provider...), so any refactoring there will probably help with crashes |
Sorry, I just realized that! |
Thanks!
I'm not too familiar with this but hopefully @phhusson will know better. |
In SipHandler.kt, val audioRecord = AudioRecord(MediaRecorder.AudioSource.VOICE_COMMUNICATION, 8000, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT, minBufferSize) Replacing New Issues
Logs |
@skr4n sorry if it sounds stupid, but did you check that the app has the right to use the microphone in the settings? |
Yes, I have manually enabled the Microphone permission in the app settings and set it to "Allow only while using the app" since before posting the issue. |
Might be worth trying to allow not just while using the app? |
Yeah I agree with @martinetd but I've seen cases where Android doesn't let the user do that -_-' I'll dig at how we're supposed to do that and why does it work in some cases and some not... |
The available options were "Allow only while in use", "Ask every time" and "Don't allow" for Microphone. |
Greetings!
I have built the apk and installed it on a Galaxy M21 (Exynos 9611) from source as per README and #16.
It is running LineageOS 21 GSI Feb build.
The carrier is Airtel India.
Network type has been set to "LTE only" via
*#*#4636#*#*
in an attempt to force the usage of VoLTE as otherwise, the phone simply resorts to making 2G calls.WiFi is enabled.
Issue:
After setting up the Ims apk as instructed, initiating a call does ring the receiver's end, but upon accepting the call, the caller's end drops the call with a popup "Ims has stopped working", indicating a crash. The call stays on the other end with silence.
Receiving a call does the same, clicking "Answer" results in an immediate call drop with the popup "Ims has stopped working", the call stays on the other end with silence.
I have collected the log using
adb logcat -b radio
.Log: log.txt
Crash Log: crash.txt
Thank you for your work.
The text was updated successfully, but these errors were encountered: