hudamalmsteen / csipsimple_test

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

csip loses registration and and does not re-register #201

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is really a 

1. Haven't found the exact cause yet but csipsimple loses registration from 
time to time. I noticed that after downloading something from the market or 
going on youtube the app loses registration.

2. Does not re-register after losing registration. When I check the settings. 
It says timeout error. Only way to re-register is to go into settings and 
change something then save again. Could the app not check if it's registered 
and then try to reset the parameters and re-register?

3. Sometimes when on wifi the DSL connection goes down but wifi is still up. In 
this case csip loses the registration but can't re-register on wifi because DSL 
is down. Why not switch to 3g at this point. I.e. have a failsafe registration 
mode. If app can't register or re-register on wifi, try 3g (if allowed) and 
vice versa.

Original issue reported on code.google.com by dcitele...@gmail.com on 7 Sep 2010 at 1:59

GoogleCodeExporter commented 9 years ago
Ooops. Telus HTC with RomVillain 12 (android 2.1) and 12-28 dev version.

Original comment by dcitele...@gmail.com on 7 Sep 2010 at 2:00

GoogleCodeExporter commented 9 years ago
For point 1 : is lock wifi enabled on csipsimple settings?
For point 2 : re-registration is done once directly after the registration loss 
and then each 5 minutes if you are in 'Always available mode' (of course). 
(P.S. : did you try just to deactivate/reactivate account, that's easier than 
going in settings and pressing back (and that only does an unregister while 
settings and back restart all the sip stack).

For point 3: unfortunately, on android, we don't choose which connection type 
we use. And we can't stop wifi. We can know what connection we are currently 
using but that's android os that choose the data connection. (And besides, when 
you are using wifi, 3G is automatically cut => 3G and WIFI can't live at the 
same time). As consequence there is nothing I can do for your issue. But all 
android apps are affected the same way than me : you'll not receive mail, 
you'll not be able to use gtalk...

For point 1 & 2, if you can produce some logs could be interesting for me to 
see exactly what is happening (there is a wiki page about how to produce logs).

Original comment by r3gis...@gmail.com on 7 Sep 2010 at 2:26

GoogleCodeExporter commented 9 years ago
1. Yes. Lock wifi is enabled. 
2. I'll see what I can do about the logs. Enable always on mobile data seems to 
reduce the registration loss. Maybe the re-registration has to be done 
different to overcome the timeout error. 
3. Why can't you stop wifi? There are many apps that do just that. So if you 
are on wifi and the registration fails just switch it off and the phone will 
re-register on 3g. Just a thought.

Original comment by dcitele...@gmail.com on 7 Sep 2010 at 2:54