Skip to main content

Frequently Asked Questions and QA Test Cases

Follow the primary integration guide first. Use test SIP credentials and configured Firebase/Portal credentials. Run push tests on physical devices.

Partner acceptance checklist​

CheckExpected result
Resolve packageflutter pub get resolves the selected release tag from the binary distribution repository
BuildHost app builds for Android arm64-v8a and iOS device arm64; the current iOS binary does not include simulator architecture
Token and push readinessAndroid custom service saves FCM token; iOS PushKit token and host FCM token are configured; verify a real incoming call rather than treating SIP registration or token API completion as push proof
RegisterListener reports PitelRegistrationState.registered; await login() alone is not proof of registration
Outgoing callApp creates a destination matching the configured PBX domain and registrar port
Outgoing audioA test call has two-way audio on the networks in scope
Incoming foregroundNative incoming-call flow appears and can be answered or declined
Incoming backgroundVerify normal background and OS-terminated states on a physical device
Android lock screenFull-screen UI only when the host app chooses fullscreen and FSI is declared/granted; otherwise verify notification behavior
FSI changeStatus reflects granted/denied access again after returning from Android Settings
iOS lock screenCallKit presentation arrives through PushKit on a physical iPhone
PermissionsDenial and later revocation are handled in foreground; permission prompts are completed before background/lock-screen tests
Token refreshAndroid performs a later SIP registration with the new token after a safe point; iOS token update and incoming delivery are verified on device
Restore and UISession restores after app restart; verify whether custom UI is reapplied or native defaults are expected
Call controlsAnswer, decline, mute, speaker, hold, and any DTMF/transfer flow used by the app work
LogoutSIP account unregisters and SDK-saved login data is cleared

A user force-stop differs from normal background or an OS-terminated app. Do not treat push wake-up after force-stop as guaranteed; behavior also depends on OS, vendor, app state, and push delivery.

Common questions and pitfalls​

Permissions and push readiness​

Check/request microphone and notification permissions while the app is foregrounded at startup and before outgoing calls. If an incoming event is delivered while the app is foregrounded and permission is missing, request it from that flow. If the user later revokes permission in Settings, check again on app resume or before calling. Complete permission prompts before background/lock-screen testing. Permission state and SIP registration do not prove that push delivery is working; verify a real incoming call for each target platform.

If Firebase initialization or getToken() fails, keep the app and SDK listeners running, expose a retry path, and retry token acquisition. Wait for the registration listener to report registered for SIP readiness, then separately verify push delivery. See the Android token refresh guide and iOS token roles.

The iPhone does not receive calls while locked.​

Use a physical iPhone, check that the VoIP .p12 is current in the Portal, and verify the Portal app ID matches the iOS bundle ID. Confirm Push Notifications and the calling-related Background Modes are enabled.

Android does not show fullscreen UI.​

Fullscreen intent is a host-app setting and is limited by Android/Play policy. Check incomingCallMode, the merged host manifest, and user special access. Re-check FSI status after returning from Settings. See the FSI guide.

The call connects without audio.​

Check microphone permission and NSMicrophoneUsageDescription, then test on another network. Ask the PBX/network administrator to check SIP/RTP firewall and NAT routing.

The call drops after about 30 seconds.​

This can indicate that SIP signaling or ACK traffic is blocked. Confirm the account's proxy URI and registrar port with Pitel/PBX support and check the firewall/network route.

Does Android incoming Pitel push pass through Dart?​

In the tested example it is handled by the native custom FCM service. The example does not forward non-Pitel pushes from that service to Dart; the host app owns those messages.

Does iOS VoIP push use Firebase Messaging callbacks?​

No. Incoming VoIP calls use PushKit/APNs and plugin-managed CallKit integration. Firebase may still be used for FCM token registration or ordinary messages delivered to FlutterFire.

Does login() returning mean SIP is ready?​

No. Wait for PitelRegistrationState.registered from the registration listener.

Where are login values cached?​

The current SDK stores login fields in SharedPreferences, which is not encrypted secure storage. Apply your app's credential policy and never expose the saved values in logs.

Custom call UI returns to defaults after app restart.​

autoLogin() restores the SDK's saved SIP fields but does not restore uiConfig. If the host needs custom UI after restart, restore the settings under the host's credential policy and call login() with the desired uiConfig; otherwise native defaults are expected.

Can I test PushKit in the simulator?​

No. Use a physical iPhone.

Can every app use fullscreen intent?​

No. Check the current Android/Play policy. Notification-only presentation is available through IncomingCallMode.notification.