alexchengalan / csipsimple

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

pre5 - Cannot disable or change Keep-Alive #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit an existing Expert Wizard account
2. Edit Keep-Alive, see 15 sec (too short!)
3. Change to 600 and close
4. Save changes
5. Re-open account in Expert Wizard
6. Edit Keep-Alive

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

Expected: 600
Saw: 15

What version of the product are you using? On what operating system?

0.00-12 (pre5) SVN rev 134  Android 2.1 Update 1 HTC Incredible

Please provide any additional information below.

Attempt to change Keep Alive to blank/empty (trying to disable keep alive). 
Same result, the value returns to 15 sec.

Original issue reported on code.google.com by dc3de...@gmail.com on 9 Jul 2010 at 9:20

GoogleCodeExporter commented 9 years ago
You're right

The field Keep alive interval is missing in the database. :S

Original comment by r3gis...@gmail.com on 9 Jul 2010 at 9:31

GoogleCodeExporter commented 9 years ago
Yes, I just followed it there myself. This is excellent learning with Eclipse, 
Subclipse and Android. I'm using my phone instead of the emulator, much faster!!

For now I am going to just disable Keep Alive as I don't need it and 15 sec 
will kill the battery on WiFi. 

Original comment by dc3de...@gmail.com on 9 Jul 2010 at 9:43

GoogleCodeExporter commented 9 years ago
Latest svn update fix the issue (r135).

15 seconds has to be tuned for next versions. 
Michael recently point out some really intersting link on the sipdroid wiki:
http://code.google.com/p/csipsimple/issues/detail?id=50#c2

They have tested values for keep alive with tcp and udp and have interesting 
result that could be interesting to integrate in csipsimple.

Original comment by r3gis...@gmail.com on 9 Jul 2010 at 9:54

GoogleCodeExporter commented 9 years ago
I tested the save/restore on 142 and it's working. Good!

Original comment by dc3de...@gmail.com on 10 Jul 2010 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 10 Jul 2010 at 4:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Michael's info and the SipDroid Wiki article are very interesting. I played 
around trying to get registered via TCP but even with the ;transport=tcp on the 
register and proxy, it did not complete registering. I gave up and went on to 
things I understood better!!

Original comment by dc3de...@gmail.com on 10 Jul 2010 at 4:56

GoogleCodeExporter commented 9 years ago
My latest commit (r142) adds an option to allow TCP and UDP transport at the 
same time.
To use TCP transport there is 3 things to check :
1. Your sip provider allow you to use tcp
2. In wizard setting you add the ;transport=tcp on the registration uri
3. On Settings > Network > You check the TCP box

Something more clear has to be done in order to simplify the use of tcp for 
mainstream users.

Original comment by r3gis...@gmail.com on 10 Jul 2010 at 6:15