-
Notifications
You must be signed in to change notification settings - Fork 6
Description
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:
- Start an outgoing GSM call.
- While the GSM call is active, attempt to start a SIP call from the application.
- 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.