team-telnyx / telnyx-webrtc-android

Telnyx Android WebRTC SDK - Enable real-time communication with WebRTC and Telnyx
MIT License
13 stars 2 forks source link

[Bug] Cannot make calls #238

Closed rishan-chen closed 11 months ago

rishan-chen commented 2 years ago

Bug Category

SDK Version Which version of the SDK have you added from Jitpack? Feel free to add the whole dependency implementation: eg. implementation 'com.github.team-telnyx:telnyx-webrtc-android:v1.2.12-alpha'

com.github.team-telnyx:telnyx-webrtc-android:v1.2.16-alpha

Describe the bug A clear and concise description of what the bug is.

Outbound calls cannot be executed

Expected behaviour A clear and concise description of what you expected to happen.

It should make out calls

To Reproduce Steps to reproduce the behaviour:

  1. e.g. (Log on with credentials)
  2. e.g. (Socket error then returned)

Android Device (please complete the following information):

Logs Please provide any logs available to you, remember to enable verbose logging within the SDK. It is generally helpful to filter by either TxSocket (Socket messages) or TelnyxClient (Client messages) or both depending on the situation.

2022-10-24 21:24:06.715 10601-10788/com.mysecondline.app D/VERTO: [TxSocket] Receiving [{"jsonrpc":"2.0","id":106148,"method":"telnyx_rtc.clientReady","params":{"reattached_sessions":[]}}] 2022-10-24 21:24:06.720 10601-10788/com.mysecondline.app D/VERTO: [TxSocket] Received Method [telnyx_rtc.clientReady] 2022-10-24 21:24:06.725 10601-10788/com.mysecondline.app D/TelnyxClient: [TelnyxClient] :: onClientReady :: retrieving gateway state 2022-10-24 21:24:06.726 10601-10788/com.mysecondline.app D/VERTO: [TxSocket] Sending [{ "id": "0a50fd6c-beca-4a77-a39c-eb82ca624e40", "jsonrpc": "2.0", "method": "telnyx_rtc.gatewayState", "params": {} }] 2022-10-24 21:24:07.164 10601-10788/com.mysecondline.app D/VERTO: [TxSocket] Receiving [{"jsonrpc":"2.0","id":106149,"method":"telnyx_rtc.gatewayState","params":{"state":"TRYING"}}] 2022-10-24 21:24:07.365 10601-10788/com.mysecondline.app D/VERTO: [TxSocket] Receiving [{"jsonrpc":"2.0","id":106150,"method":"telnyx_rtc.gatewayState","params":{"state":"REGISTER"}}] 2022-10-24 21:24:08.166 10601-10788/com.mysecondline.app D/VERTO: [TxSocket] Receiving [{"jsonrpc":"2.0","id":106151,"method":"telnyx_rtc.gatewayState","params":{"state":"REGED"}}] 2022-10-24 21:24:08.170 10601-10788/com.mysecondline.app D/TelnyxClient: [TelnyxClient] :: onLoginSuccessful :: [083dfcc0-1a26-4701-9b94-17d84f5c5e30] :: Ready to make calls 2022-10-24 21:24:36.900 10601-10788/com.mysecondline.app D/VERTO: [TxSocket] Receiving [{"jsonrpc":"2.0","id":106186,"method":"telnyx_rtc.ping","params":{"serno":1666671877}}] 2022-10-24 21:24:36.900 10601-10788/com.mysecondline.app D/VERTO: [TxSocket] Received Method [telnyx_rtc.ping]

Oliver-Zimmerman commented 2 years ago

Hey @rishan-chen

In the logs I don't see an invite being sent or received. Can you confirm which one you are trying? Are you unable to send an invite or receive an invite?

If you cannot receive an invite, can you please provide the call ID from the caller's side so we can see why it is not reaching the device with our debug tools?

If you cannot send an invite then we need to see why the invite message is not being logged.

Finally, can you use the same SIP Credentials and test with the sample application? I have tested again and can still make/receive calls. This will just rule out any issues outside of the SDK. You can also test with the web dialer here: https://webrtc.telnyx.com/

Lastly, can you confirm when it stopped working? The last update we pushed was on the 29th of August as seen here: https://github.com/team-telnyx/telnyx-webrtc-android/releases/tag/v1.2.16-alpha

Nothing has changed since. Is this when it stopped working? Does 1.2.15 work for you? If you were using 1.2.16 successfully and it has only recently stopped working then it is likely a backend issue that we need to look into

isaacakakpo1 commented 11 months ago

Closing stale Issue