react-native-webrtc / react-native-webrtc/react-native-callkeep

Call Outgoing not working Via Sim Card, Keeps dialing does not ring.

Open
#782 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
511
Avg merge
9h 12m
Merged PRs (30d)
2

Description

Bug report

Hello everyone, I'm using call keep for making a call via Sim Card of my mobile phone. Their is an issue with it

I implemented everything. The issue is that when it dials a call using my phone's default call screen it keeps just dialing. The call does not rings on other user phone and also in normal calling if the other user does not attend the call , the call cuts automatically after few rings. Here it keeps dialing .

         **My React Native Version is 0.73.6
         buildToolsVersion = "34.0.0"
         minSdkVersion = 21
        compileSdkVersion = 34
        targetSdkVersion = 34
        ndkVersion = "25.1.8937393"
        kotlinVersion = "1.8.0"**

here are few Screenshots

Asking for permissions
WhatsApp Image 2024-06-02 at 8 16 40 PM

WhatsApp Image 2024-06-02 at 8 16 41 PM

Asking for phone Account permissions
WhatsApp Image 2024-06-02 at 8 16 41 PM (1)

Call Accounts Screen
WhatsApp Image 2024-06-02 at 8 16 41 PM (2)

WhatsApp Image 2024-06-02 at 8 22 27 PM

And then this is when i dial a Call
WhatsApp Image 2024-06-02 at 8 16 42 PM

My Code Snippets:
Mainfest:

<!-- required for react-native-share base64 sharing -->
  <activity
    android:name=".MainActivity"
    android:label="@string/app_name"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
    android:launchMode="singleTask"
    android:windowSoftInputMode="adjustResize"
    android:exported="true">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
  </activity>
  <service android:name="io.wazo.callkeep.VoiceConnectionService" android:label="Wazo" android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" android:foregroundServiceType="camera|microphone|phoneCall" android:exported="true">
  <intent-filter>
    <action android:name="android.telecom.ConnectionService"/>
  </intent-filter>
</service>
<service android:name="io.wazo.callkeep.RNCallKeepBackgroundMessagingService"/>

My Function to initate the call

CallKeep.startCall(uuids.toLocaleLowerCase(), '12345678', names); where uuid im generation using react native uuid

The purpose to use this library was that after call it brings back to application and then provides listeners for end call that help in performing functionality after the call ends.

My Diagnosis (May be wrong):
The Call goes via My Application which was added in phone accounts and my Applcation is not using any other online service like twillio or agora for calling maybe that is why it cannot call , maybe react native call keep can only call via twillio or agora i dont know. Because i used call keep once with twillio and it works like charm and uses default mobile screen for calling

        **I need Help...**

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report provides an Android manifest, the VoiceConnectionService declaration, and a CallKeep.startCall invocation. Start by tracing how that service handles the outgoing call and compare the reported SIM-call behavior with the library's documented scope; done requires a reproducible diagnosis and a clearly identified change or configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.