kailash-ratufa / csipsimple

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

Csip not reliably reconnecting #396

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Move out of data range then back.
2. Wait
3. Wait some more.
4. Give up, open csip, wait 5 secs and see it register.

What is the expected output? What do you see instead?
Csip reliably registers without manual intervention.

What version of the product are you using? On what operating system?
15-12 Nexus 2.2.1

Please provide any additional information below.
Sometimes it works, but it's often failing (once a day now).  It seems, once it 
has failed it doesn't retry when the network changes (say from 3g to wifi and 
vice versa).  This seems to be a recent problem, but I can't tell if it's a 
regression or environment change.  

Currently connecting to sipsorcery using suggested settings of 3600/120, which 
have worked fine previously.  Either way, if opening csip causes it to connect 
successfully, it should do so itself in the background.

I'm wondering if csip needs to be more agressive on the reconnect.  What are 
the current retry attempt times?  Should they be added to Expert?  I hope it's 
not reusing my reregister setting of an hour...

Maybe, connection timeout is too high, so it just leaves csip connection 
hanging???

Original issue reported on code.google.com by kro...@gmail.com on 19 Nov 2010 at 11:13

GoogleCodeExporter commented 9 years ago
Sounds was due to the new Quit method.
I've again changed the way quit is managed.

Now you can use disconnect button. It will warn you about the fact if you are 
in always available mode you'll not be available... but now... it is until next 
restart of the app.

Probably more consistent from an user point of view (all the more so as users 
usually doesn't read carefully popup) if that doesn't change settings by just 
confirming a popup.

Original comment by r3gis...@gmail.com on 24 Nov 2010 at 11:25