olleb3 / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Rapid re-registration while sending SMS #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Locate where you have WiFi (and data is using WiFi)
2. Send an SMS message, go back to home screen
3. Notice that CSipSimple Re-Registers twice.

What is the expected output? What do you see instead?

Expected: CSipSimple stays registered via WiFi until WiFi is no longer available
Found: CSipSimple seems to re-register whenever Mobile is used by another app 
while WiFi is available.

Please use labels and text to provide additional information.

I think that CSip is registering on Mobile data when another app uses Mobile 
data (as SMS must), then when that app is finished using Mobile data, CSip 
registers via WiFi again. I believe that once CSip is registered via WiFi, it 
should keep using WiFi until that connection is lost, regardless of Mobile 
usage by other apps.

Original issue reported on code.google.com by dc3de...@gmail.com on 26 Aug 2010 at 12:53

GoogleCodeExporter commented 9 years ago
May be related to Issue 156 and Issue 159.

Original comment by dc3de...@gmail.com on 26 Aug 2010 at 12:56

GoogleCodeExporter commented 9 years ago
Yes probably linked to issue 156. I'm implementing something for that. Besides 
I changed the way we listen to mobile data changes (previously we were using a 
private api - as done in sipdroid - but as there is an public api for that 
(maybe more reliable)).

I take the point, since any changes on the subject could conflict my changes.

Original comment by r3gis...@gmail.com on 26 Aug 2010 at 10:14

GoogleCodeExporter commented 9 years ago
You can test with -12-24 and let me know if problem still present. I started to 
rework on this part. Maybe it improve things... don't really know for now.

It's not impossible that the re-registration is needed after a sms. Maybe 
sockets are closed and renew is needed (just a though, I don't know really).

Original comment by r3gis...@gmail.com on 27 Aug 2010 at 9:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Testing with r210 now.

Original comment by dc3de...@gmail.com on 28 Aug 2010 at 1:04

GoogleCodeExporter commented 9 years ago
I think this is a problem about something in android that briefly use data 
channel of the gsm, which turn down wifi a short instant.
In that case, guess that it's safer to re-register.

Original comment by r3gis...@gmail.com on 14 Nov 2010 at 6:23