sonuarya / csipsimple

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

CSIPSimple hungs with a Terrasip account if STUN is not enabled #959

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Disable STUN
2. Configure a Terrasip (terrasip.com) account [1]
3. Try to activate the Terrasip account.

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

Expected: account registration.

I See: In the accounts menu you see the Terrasip account saying 
"Registering...". After a few seconds the phone vibrates a couple of times and 
Android says CSIPSimple is hung and offer to kill the app. As soon as 
CSIPSimple is restarted, it tries to connect and hungs again.

To recover, I switch off wifi and GPRS, start CSIPSimple, disable Terrasip 
account and connect wifi again.

If stun server is enabled (I use stunserver.org) Terrasip account registers OK.

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

<<<PLEASE ADD THE BUG DESCRIPTION HERE>>>

Based on the GPL CSipSimple version : 0.02-01 r841
Here are important informations about Device :
android.os.Build.BOARD : GT-I9000
android.os.Build.BRAND : samsung
android.os.Build.DEVICE : GT-I9000
android.os.Build.ID : FROYO
android.os.Build.MODEL : GT-I9000
android.os.Build.PRODUCT : GT-I9000
android.os.Build.TAGS : release-keys
android.os.Build.VERSION.INCREMENTAL : XWJS3
android.os.Build.VERSION.RELEASE : 2.2.1
android.os.Build.VERSION.SDK : 8

<<<PLEASE ADD THE BUG DESCRIPTION HERE>>>

Please provide any additional information below.

I have two additional accounts configured (iptel.org and diamondcard.us) that 
works fine with or without stun server enabled.

Original issue reported on code.google.com by jjch...@gmail.com on 13 May 2011 at 8:18

GoogleCodeExporter commented 9 years ago
Really interesting,

Can you send me logs? (I guess you already found the UI to collect logs ;) ).

Original comment by r3gis...@gmail.com on 13 May 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Hi!

I set log level to 5 and started recording logs before activating the
Terrasip account, but all that was collected is what I already
included in the report.

If there is a place in the filesystem or another method to collect
more detailed logs I will be happy to help.

Regards.

jorge.

Original comment by jjch...@gmail.com on 13 May 2011 at 9:15

GoogleCodeExporter commented 9 years ago
In fact in the mail that csipsimple tries to send there is an attached file. If 
you send the mail I'll probably recieve the file attached.
However, another solution would be :
Press send the logs.
Do nothing with the ongoing mail (just switch to some app that allow you to 
explore filesystem), and search in folder CSipSimple/logs on your sdcard.

Original comment by r3gis...@gmail.com on 13 May 2011 at 9:21

GoogleCodeExporter commented 9 years ago
I cannot reproduce this bug anymore with the last version from the nightlies 
builds. Currently I am using CSIPSimple 0.02-02 r906 from the ginger repository:

http://nightlies.csipsimple.com/ginger/

Regards.

jorge.

Original comment by jjch...@gmail.com on 7 Jun 2011 at 5:17

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 7 Nov 2011 at 10:52