Skip to content

GSM call keeps running with sip call ? #87

Description

@harryandroiddev

Issue: GSM Call and SIP Call Running in Parallel

We are facing an issue where a GSM call and a SIP call are running in parallel on the device.

Even after adding the READ_PHONE_STATE permission in the Android manifest and enabling telephony state listening using:

iniData.listenTelState = true;

the application is still allowing a SIP call to start while a GSM call is already active.

Expected Behavior:
When a GSM call is active (either outgoing or ongoing), the application should detect the phone state and prevent the SIP call from starting. Instead, it should show an error message indicating that another call is already in progress.

Actual Behavior:
Despite the permission being granted and telephony state listening enabled, the SIP call can still be initiated while the GSM call is active, resulting in both calls running simultaneously.

Steps to Reproduce:

  1. Start an outgoing GSM call.
  2. While the GSM call is active, attempt to start a SIP call from the application.
  3. The SIP call starts successfully instead of being blocked.

Environment:

  • Platform: Android
  • Permission added: READ_PHONE_STATE
  • Telephony state listening enabled: iniData.listenTelState = true

Please investigate why the telephony state is not preventing the SIP call when a GSM call is already in progress.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions