I am working on an iOS app that uses push notifications to wake up the app so I can receive SIP calls when app is not in foreground. When all is working, app gets a VOIP push notification while in background which wakes up the app and within 5 seconds I get a SIP invite to process the call. We are using a timer for 5 seconds to wait for SIP after getting VOIP push. The issue I am having is after a certain period of running sip calls test, app stopped receiving SIP invites if it is in background. This happened on our multiple test devices. Restarting the app and rebooting the device didn’t help but uninstalling & installing the same version of app did the trick. What could be the reasons behind this and how can we fix this? Have anyone else experienced the similar thing? Any suggestions . TIA.
Unable to recieve SIP calls when app is in background
665 Views Asked by Surbhi Arora At
2
There are 2 best solutions below
0
foske
On
As far as I know, Apple bans application in iOS 13 or higher, if there is no connection to the SIP-server, when you receive a push.
They regard this case as an incorrect use of VoIP-pushes and write some blocking record to your app. When you reinstall it, this record disappears and you can repeat the same thing.
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in SIP
- Send SIP traces over TCP from Kamailio to Heplify
- Amı Originate Calls Diffrent Context From Sended Context
- SIP messages are not visible after Phone rooting(samsung A33)
- How to get pn-prid with PJSIP_HEADER in Asterisk dialplan
- bad rtp pt 101 (expecting 8)
- Configure Linphone Desktop to use same SIP for all users in Windows
- Forward call from Twilio Studio to SIP End point
- Pause audio file not play on receiver side in sip in android
- Configuring One-Way Video Stream in PJSIP for Doorbell Video Call
- Node.js SIP.js Setup: Can't Receive Real-time Audio - Need Direction
- SIP load Testing via SIPP
- Twilio referURL - SIP Refer - refer to Twilio Flex
- SIP IPV6Reference
- SIP SEER calculation questions
- C# run process microsip.exe without access to system micro
Related Questions in VOIP
- PowerShell Linphone Configuration
- TypeError: Cannot read property 'registerVoipToken' of null
- How can I modify the default email that Avaya IP Office sends with each voicemail?
- CallKit : VOIP call is disconnecting when external call is declined
- Getting rootViewController for iOS13+ & Swift 5
- How to configure Kamailio or OpenSIPS as Session Border Controller?
- voIP audio integration without specifc API or integration
- SIP load Testing via SIPP
- How to receive Bluetooth headset Play pause event in Android java
- Integrating VOIP functionality in a native iOS app and using it in React Native
- Voice chat over a mumble server in flutter
- Ozeki voip sip C# calling
- jni_zero : Compilation error of M120 webrtc android
- How can I connect my node.js app to external VOIP provider via SIP?
- How to merge a new call to an exciting call in CallKit
Related Questions in SIP-SERVER
- Asterisk - Twilio SIP Trunking Service
- Replace Nutone Door System with SIP
- Opensips - Bad From Header when I was using failover in my script
- Media Resource Control Protocol (MRCP) Client and Server implementation in python
- make sample sip server in local host for js sip and web interface
- Genesys BYOC Purecloud Outgoing Call issue
- Couldn't detect that call is hung up/Cancelled by the user in SIPSorcery C#
- SIP Sorcery (C#) : How the server can reject call & Receiver can detect that server has rejected a call
- Linphone SDK gives io error in Android Devices when connecting to local network
- Can anyone help me fix the fact that re-routing to Ireland stops inbound phone calls working?
- How to get Status code for Trying and Ringing in JsSip
- Unable to recieve SIP calls when app is in background
- [SIP]Response on Receiving 488 (Not Acceptable Here)
- Converting SIP2(Standard Interchange Protocol) Request to Web API Request and web API Response to SIP2 Response
- Process INVITES when recording is enabled on both parties phones in Cisco CUCM
Related Questions in PUSHKIT
- How to merge a new call to an exciting call in CallKit
- Not Receiving VOIP Push Token In Time
- IOS App VOIP Push Recieved After Device Turns On Fails To Report
- How can I pass the data to the callKit in swift?
- How to handle cancelled/update VOIP push comes after the incoming call push has been handled
- How to establish a persistent connection after handling VoIP push from PushKit?
- Detect tap on green tag in call kit
- PushKit delegate methods not being called after putting them in a separate manager class
- App crashes when receiving a VoIP call before unlocking after reboot
- Flutter Firebase Notification not working in killed state
- Huawei Push kit Change Token expiración Time
- Integrating CallKit & PushKit to AgoraIO VideoCall - Swift 5
- VoIP push does not deliver on a certain iOS device
- react native ui not loaded properly during VOIP call
- When will Ios VoIP PushKit token get updated
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Could it be related to SIP registration process, you need to register to sip before get invite, registration process may take more than 5 sec bcs of network conditions.
If I were you I would check SIP registration process first and make sure I got 200 from SIP before Invite process.