Unsupported Start the "Keep active" service from another application.

Status
Not open for further replies.

mikulik86

Free User
Joined
Jul 12, 2022
Messages
7
Reaction score
0
Hello, hopefully this will reach the developers.
I'm trying to automate the "Keep active" service, because having to start it manually every day is really annoying and I also sometimes forget and then I am unreachable which is also annoying.
I use an app called Automate (similar to Tasker). From what I understand the 3CX app has no broadcast receivers that can be used to controlling (start, stop) the service. So I'd like to ask the devs to add it.
If adding a broadcast receiver would be too much trouble, I'd suggest at least making the service be exported so it could be started from another app. As far as I know it only takes adding one line of code.

Or if anyone knows a way to start this service, that will work with current version of the app, please leave a suggestion.

Thanks in advance.
 
Not supported.
 
To put it simple:
The broadcast receiver designed to turn on client's "Keep Active" would need itself a "Keep Active".
 
In the past I have just used Tasker to launch the app every morning at 3 AM.
 
In the past I have just used Tasker to launch the app every morning at 3 AM.
Launching the app is not enough to be able to receive calls. The "Keep active" service must be started.
 
To put it simple:
The broadcast receiver designed to turn on client's "Keep Active" would need itself a "Keep Active".
Strange... as other apps can receive a broadcast without such a service.
Anyways, wouldn't work to start the main app shortly before sending the broadcast?
 
Launching the app is not enough to be able to receive calls. The "Keep active" service must be started.
Why do you need Keep Alive - typically that's used for devices that can't handle Push notifications to wake up.

The starting the app is to refresh it's registration (after 1 week or no use it de-registers)
 
Why do you need Keep Alive - typically that's used for devices that can't handle Push notifications to wake up.
Well on my Zenfone 8 it just so is. But I'd love to not having to start the Keep Alive. Maybe you could help me troubleshoot that instead.
 
Of course it has and push notifications work for all other apps. I also run the tester you linked and it works.
Also I'm not alone with this kind of problem. Both my colleges observe the same behavior on their phones which are different than mine.
 
So you are trying to say, with a PBX that is running V18, an up to date Android Mobile app, that say the phone is sleeping, the app has been opened once in the last 7 days, a new call comes in and the app doesn't ring? Only if you have the keep-alive service enabled does it work?

Is the PBX somewhere it can't send push notifications out to FCM? Some sort of internet firewall between the PBX and Google that's restricting its communications?
 
So you are trying to say, with a PBX that is running V18, an up to date Android Mobile app, that say the phone is sleeping, the app has been opened once in the last 7 days, a new call comes in and the app doesn't ring? Only if you have the keep-alive service enabled does it work?
Not sure about PBX version, but otherwise yes, that's right. Are you saying, that this is definitely not normal behavior?
Is the PBX somewhere it can't send push notifications out to FCM? Some sort of internet firewall between the PBX and Google that's restricting its communications?
No idea about this. But tomorrow I can ask someone at work. And when I'm at it I'll tell them that the incoming calls should be normally working without the keep-alive service, cause I don't think that anyone knows it there.
Btw. can you tell me what is the actual purpose of the keep-alive service?
 
Not sure about PBX version, but otherwise yes, that's right. Are you saying, that this is definitely not normal behavior?

No idea about this. But tomorrow I can ask someone at work. And when I'm at it I'll tell them that the incoming calls should be normally working without the keep-alive service, cause I don't think that anyone knows it there.
Btw. can you tell me what is the actual purpose of the keep-alive service?
Correct, it's not normal that you would need the Keep Alive service unless your device can't receive push notifications (or they are delayed because something about the device, but you said every device has the issue and other apps can get push). Keep alive is 3CX's way of maintaining an ongoing connection so that notifications can flow through that channel vs needing to send via push.
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,831
Messages
589,277
Members
164,660
Latest member
RJenkinsROCK