krunal09 / sample

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

Doesn't retry after registration timeout #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
00-12pre3 - Nexus 2.2

Please provide any additional information below.
If registration fails for whatever reason it should retry after a set time, say 
every 10 seconds for one minute and then every minute after that, and 
immediately if network changes.

Would prefer not to miss any calls if I can help it.

Cheers.

Original issue reported on code.google.com by kro...@gmail.com on 28 Jun 2010 at 8:40

GoogleCodeExporter commented 9 years ago
By default, registration retries after 300 seconds (5minutes). It's the default 
value from the sip stack but can be configured. 
An option has to be add in account settings to set this value (at least in 
expert mode).

Besides if network changes, there is also something that launch a re-register - 
it is also useful since it renew your registration when IP change.
Let me know if it's not the case for you, but should be.

Original comment by r3gis...@gmail.com on 28 Jun 2010 at 9:42

GoogleCodeExporter commented 9 years ago
Might be a different problem.  Sometimes when I go to make a call after a 
while, it says "not added" in the dial list preventing an outgoing call, 
although the registered notification is active.

I would argue that the retry for mobile devices should be lower than their 
desktop counterparts as mobile connections are generally less reliable.

Thanks.

Original comment by kro...@gmail.com on 28 Jun 2010 at 10:22

GoogleCodeExporter commented 9 years ago
I have also expreienced this. Sometimes when I go to make a call all CSipSimple 
accounts are grey (ie cannot be selected) even though it is registered. 
Pressing the back button then attempting the call again shows it as green (ie 
selectable).

Original comment by michael....@gmail.com on 29 Jun 2010 at 9:02

GoogleCodeExporter commented 9 years ago
When the app is up and idle for a while (hours?), not only first attempt to 
call shows CSipSimple accounts grey until I hit "Back" and retry, but also 
incoming calls are diverted to voicemail which means the server thinks that the 
agent is not registered. I use asterisk for the server, hardware is HTC Desire, 
Android 2.1, CSipSimple "pre3" apk.

Original comment by egcros...@gmail.com on 5 Jul 2010 at 9:44

GoogleCodeExporter commented 9 years ago
r147 (unreleased as of now) has expanded error reporting for account status, 
including a separate registration timeout error message. So you will be able to 
tell in the next release. This does not fix the issue, it just gives you 
positive feedback on an unregistered account (you have to show the accounts 
list).

Original comment by dc3de...@gmail.com on 14 Jul 2010 at 12:41

GoogleCodeExporter commented 9 years ago
I think there are two distinct problems mentioned that are unrelated to the 
originally reported one:
1. Loss of registration - I think as of 0.12, things are better in this 
respect, i.e. there are now less cases when the call is diverted to voicemail 
despite the handset is on and connected.
2. Account greyed out when you are trying to call, becoming OK when you press 
"back" and tap the number again - this looks like a mere UI glitch to me.

Original comment by egcros...@gmail.com on 14 Jul 2010 at 11:46

GoogleCodeExporter commented 9 years ago
Well as we've seen yesterday, in another issue, sounds ok in respect with 
original issue.
Sounds the keep alive interval is too important under some conditions. We 
should probably tune it a little bit better to ensure each network 
configuration is ok regarding the default value. As it has an impact on battery 
usage should be done in accordance to a lot of tests. So will wait for more 
feedback when in beta to adapt this value.

For greyed accounts when trying to call, it should be totally fixed now. I've 
also added a button in the list to try to re-register if needed.

Original comment by r3gis...@gmail.com on 29 Aug 2010 at 11:13