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

Client to Client call receiving not working #532

Closed praveenb closed 1 year ago

praveenb commented 2 years ago

Description

Not able to receive call Client (device 1) to Client (device 2).

Steps to Reproduce

  1. I have integrated QuickStart guide in to my app.
  2. Then generated 2 AccessTokens for 2 different Identity names (say alice and bob).
  3. Then used alice AcessToken on device 1, and bob AccessToken on device 2.
  4. Now on Device 1 (identity alice), in Call popup, entered bob indetity name and clicked Call.
  5. Hearing Welcome message in Device 1 only. Not receiving call on Device 2.

below is screenshot. image

Please need help to resolve the issue.

Code

No code change.

Expected Behavior

able to receiving call on Device 2.

Voice Android SDK

com.twilio:voice-android:6.1.1 com.twilio:audioswitch:1.1.4

OS Version

Device 1 - Android 10 device Device 2 - Android 12 device

Device Model

Redmi Note Samsung Galaxy

Thank you

kbagchiGWC commented 2 years ago

@praveenb

Please follow the QS documentation. You should be able to make client to client call in step 9 .

In the QS app, step 9 fills out the to field with the recipient client name or the phone number in this line that gets passed to TwiML application.

If you look at the demo TwiML application code, if the to field is passed correctly like this, it will dial a number or a client else it play the welcome message.

Hope this helps.

kbagchiGWC commented 1 year ago

Closing due to inactivity.