Skip to content
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

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

Open
ark-fabtechsol opened this issue Jun 2, 2024 · 0 comments

Comments

@ark-fabtechsol
Copy link

ark-fabtechsol commented Jun 2, 2024

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...**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant