twilio / voice-quickstart-android

Quickstart app for the Voice Android SDK
https://www.twilio.com/docs/api/voice-sdk/android/getting-started
MIT License
184 stars 140 forks source link

Car play show wrong caller id and also audio doesn't end on call end, required to force close the app #600

Closed softsan closed 2 months ago

softsan commented 3 months ago

Before filing an issue please check that the issue is not already addressed by the following:

Please ensure that you are not sharing any Personally Identifiable Information(PII) or sensitive account information (API keys, credentials, etc.) when reporting an issue.

Description

I Found an issue related to car audio. I am using audioSwitch it with the voice sdk android for my voip calling app. When an incoming call came in, it shows binary number like 1000000 as caller id on car dashboard while on my mobile app it shows correct caller id. so my caller id is like phone number - name or some time name - team name(both strings). Also when call is ended from app it still ongoing on car bluetooth and it only ends when i force close the app. So any resolution on this?

Steps to Reproduce

  1. [Step one]
  2. [Step two]
  3. [Insert as many steps as needed]

Code

// Code that helps reproduce the issue

Expected Behavior

It should end the call from car bluetooth without force closing app. Also it should show correct caller id instead of 100000 number.

Actual Behavior

It shows wrong caller id with some binary number like 100000 and also call is not ended on car dashboard when ending from mobile app.

Reproduces How Often

Everytime

Twilio Call SID(s)

You can find the Call SID in the SDK using Call.getSid() or CallInvite.getCallSid(). The Call SID can also be found on the Twilio Calls Console: https://www.twilio.com/console/voice/calls/logs.

Logs

// Log output when the issue occurs

Versions

Audio switch: Version:1.1.8

Voice Android SDK

Twilio voice sdk 6.5.1

OS Version

13/14

Device Model

Car bluetooth or Android car play

ocarevs commented 2 months ago

@softsan This is the same problem you described in https://github.com/twilio/audioswitch/issues/161 . See my comment here on the audioswitch issue. We currently do not support custom bluetooth actions in AudioSwitch.