-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Most important ISSUE: Does not receive calls in sleep mode #26
Comments
I'm observing this same problem. I would be willing to try the nightly version if I knew it was being updated and what was changing in it. |
Well. I know hangouts works. So if I was to guess the problem it would probably be that hangouts uses GCM while CSIPSIMPLE does NOT. Perhaps someone more knowledgeable could confirm this. If anyone knows how to implement GCM feel free to comment as Im not sure this project is still being maintained. |
Here's the current state of play AFAIK: Any plans to deploy Push Notifications for Incoming Calls Reported by iprad...@gmail.com, Dec 30, 2012 The battery savings are dramatic. Is there any chance to add said functionally on C Sip Simple for Android via the Google Cloud Messaging. Thanks Dec 30, 2012 Project Member #1 r3gis...@gmail.com Why will never be inside csipsimple : Besides, other point, the Push notification is not reliable !!! Google explicitly tell that it's NOT something developers should rely on to receive events ! Besides, it's ABSOLUTELY WRONG to tell it saves battery. Those that tell that doesn't understand anything on how things works. So if your sip provider support TCP, if you correctly tweak the app settings to have keep alives values that matches your network , you'll get better battery usage than what you can have with push notif. And last point, this is duplicate of issue 724 Status: Duplicate Thanks for the info, we are actually the ITSP and we dont support TCP. We did tested Acrobits for IPhone, latest version and we found dramatic Based on your feedback we will do further investigation and try set our So far we being using C SIP on Android with more than satisfactory results Besides, it's ABSOLUTELY WRONG to tell it saves battery. Those that tell that doesn't understand anything on how things works. Be that as it may, GCM is already running in android phones so there's no additional battery consumption. Specifically, if an app uses GCM, it's piggybacking GCM instead of creating another live TCP connection. This is why consumers prefer push notifications. But I 100% agree that it's a major security risk. Jan 2, 2013 Project Member #4 r3gis...@gmail.com Else, that's indeed one possible argument (BTW, I evoked that on the issue 724 and in google's docs : http://developer.android.com/training/efficient-downloads/regular_updates.html#GCM). If we also have a tcp/ip socket, using GCM is just about minimization for on thing that can be negligible. To understand well, the first thing to understand is what consumes battery : it is not the tcp/ip connection by itself. In our case, it's CPU cycle of the processor and it's network chipset consumption.
So an additional socket is not a big deal if doesn't have a lot of frequent data on it and is dedicated for events (which is normally our case unless the sip server sends INFO packets regularly). Some not directly related paper but interesting to read : http://static.usenix.org/event/usenix10/tech/full_papers/Carroll.pdf Jan 11, 2014 #6 prasd....@gmail.com Mar 13, 2015 #7 vahin...@gmail.com |
So if anyone knows how to get incoming calls when in deep sleep let us know. thanks! |
Hi @mlawtk, Knowing this may be a problem with csipsimple, I will probably move to another more maintained and likely closed source app. There's many things I like about csipsimple, but I'd like the option to receive phone calls when the phone is sleeping. Of couse if csipsimple is maintained and updated, I'll definitely try it out and give feedback. Have you used any sip app that works well with deep sleep? |
try lumicall, but i dont know yet |
zoiper works, but aiint very good |
I have observed the if the phone is connected via wifi, csipsimple can receive calls, but if the wifi radio is not involved at all (disabled, out of range, not connected), the mobile app will sleep after about 3 minutes. I don't know if this is ONLY a csipsimple problem or a greater android problem with apps not be able to keep connections alive. |
To receive calls you must use tcp or even better tls. Due to the nature of udp the connection will break within a minute or so. Tcp/tls connections are long lived, I have keepalive set at 900 seconds and I never missed a call (I even monitored registrations on my asterisk server and there are none apart from the expected ones). Please try using tcp/tls and report back. |
Hi @tcpdump1, I think you're right and the registration stays active when using tcp and/or tls. Still testing to ensure it works. |
Just as an FYI, I'm still getting this issue. So its still a problem even in 2018. Quite confusing |
How are there nightly builds if the src on github hasn't been updated since Oct 205? Is the src code now elsewhere? |
No idea, check out the datestamps on: http://nightlies.csipsimple.com/trunk/ My guess is that there's a build script just building the same old code over and over again every night? The nightly code will probably be slightly newer than whats in the App Stores, but probably still several years old... Total guess though on my part |
yeah, unfortunately, I think you're right. That link is on google code archives, which is a few months older than what's on this github repo. Sadly, it's probably time to move away from this app. :( |
Ive tried all the varioius workarounds and no joy(read all the issues with 'sleep').
no matter what I change, it always happens.
After 3 mins, or less csipsimple does not pick up calls but rather sends them straight to voicemail suggesting a problem with registration or program operation in sleep mode.
(3g works in sleep.
I use the 3g connection (shared wirelessly), in sleep mode.
Therefore its not 3g & it should be possible to get the program to work seamlessly like the wifi and and googletalk currently do. )
pasted this from the old google code page:
Issue 2959: App alwys goes inactive/to sleep preventing incoming calls. ‹ Prev 11 of 14 Next ›
1 person starred this issue and may be notified of changes. Back to list
Status: New
Owner: ----
Type-Defect
Priority-Medium
Reported by secondef...@gmail.com, Jul 23, 2015
What steps will reproduce the problem?
What is the expected output? What do you see instead?
N/A
What version of the product are you using? On what device / operating
system? 1.02.03 r2457 on Huawei Y550-L02 android version 4.4.4
Please provide any additional information below.
I only use the app on my android phone for incoming calls, however, after minimal time, I notice it's gone inactive which prevents people from calling me. This happens constantly.
The text was updated successfully, but these errors were encountered: