nhanltn / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

SIP calls dropping after 4:30minutes. Skype after 3:00 minutes? #433

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. Setup Sipdroid (latest version) on N1 with pbxes.org
2. Setup Vonage SIP account (softphone) or Vocalocity as the trunk in
pbxes.org or setup the two providers directly with Sipdroid.
3. try to call either a regular number or a skype number. every call is
dropping after an exact amount of minutes.

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

Calls not to drop. Calls are disconnecting.

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

Sipdroid 1.4.6 on N1 CM 5.0.6 also happening on previous versions of CM ROMs.

Which SIP server are you using? What happens with PBXes?

I tried to use Vocalocity and Vonage directly with sipdroid. later i setup
a pbxes.org account and tried to use these providers through them. the
result is the same. calls are dropping after 4:30 minutes. Skype calls are
dropping after 3:00 minutes.
This is happening both over wifi and 3g with the screen on or off.
This happens to all numbers i dial.

Which type of network are you using?
Wifi or 3g

Please provide any additional information below.

If i use Fring to connect the sip provider, the calls are not dropping.
connection is stable.
Only when using Sipdroid with the VOIP providers setup directly with
sipdroid or through PBXES, the calls drops after a fixed amount of time.
4:30 minutes for regular calls and 3:00 for calls made to Skype users.

Thoughts?

Original issue reported on code.google.com by jonathan...@gmail.com on 22 Apr 2010 at 10:10

GoogleCodeExporter commented 9 years ago
Update: incoming calls are not disconnecting, only outgoing.

Original comment by jonathan...@gmail.com on 22 Apr 2010 at 10:39

GoogleCodeExporter commented 9 years ago
Update:

Also tried Sipdroid on Stock ROM, also disconnecting after 4:00 sharp.

Here is the logcat of what's happening when it is disconnecting:

I/TwidroidBackgroundService(  844): background task finished
D/dalvikvm(  763): GC freed 245 objects / 11928 bytes in 62ms
D/dalvikvm(  844): GC freed 1924 objects / 833736 bytes in 81ms
I/AudioHardwareQSD(  121): AudioHardware pcm playback is going to standby.
W/AudioFlinger(  121): write blocked for 147 msecs, 17 delayed writes, thread 0x
d7d0
I/AudioHardwareQSD(  121): AudioHardware pcm playback is going to standby.
W/AudioFlinger(  121): write blocked for 145 msecs, 18 delayed writes, thread 0x
d7d0
D/dalvikvm(  520): GC freed 6669 objects / 314248 bytes in 74ms
I/AudioHardwareQSD(  121): AudioHardware pcm playback is going to standby.
I/ActivityManager(  141): Starting activity: Intent { flg=0x10000000 cmp=org.sip
droid.sipua/.ui.InCallScreen }
D/dalvikvm(  772): threadid=35 wakeup: interrupted
W/BackupManagerService(  141): dataChanged but no participant pkg='com.android.p
roviders.settings' uid=10103
D/AudioHardwareQSD(  121): setVoiceVolume(0.000000)
I/AudioHardwareQSD(  121): Setting in-call volume to 0 (available range is 0 to
5)
D/AudioHardwareQSD(  121): Setting in-call volume to 0
W/BackupManagerService(  141): dataChanged but no participant pkg='com.android.p
roviders.settings' uid=10103
D/LocationManager(  772): removeUpdates: intent = PendingIntent{45cbdcd0: androi
d.os.BinderProxy@45c93f28}
I/AudioHardwareQSD(  121): Routing audio to Speakerphone
D/AudioHardwareQSD(  121): Switching audio device to
D/AudioHardwareQSD(  121): Speakerphone
W/AudioFlinger(  121): write blocked for 149 msecs, 19 delayed writes, thread 0x
d7d0
I/AudioHardwareQSD(  121): AudioHardware PCM record is going to standby.
I/AudioHardwareQSD(  121): do input routing device 0
I/AudioHardwareQSD(  121): Routing audio to Speakerphone
I/AudioHardwareQSD(  121): AudioHardware PCM record is going to standby.

Any help would be appreciated here.

Original comment by jonathan...@gmail.com on 29 Apr 2010 at 5:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm also seeing the AudioHardwareQSD going to standby in my App, (im using 
audiorecord) and im on a nexus one. This is practically the only post on the 
entire 
internet with "AudioHardwareQSD" in it. And I think our problems are highly 
relevant.

Look at this thread I started, I think it provides more proof that there is 
something 
going on here.

http://groups.google.com/group/android-developers/browse_thread/thread/f27a4e11b
1a0cc61/9e91783a259d7b36#9e91783a259d7b36

One counterexample...look at the tricorder project from moonblink, I run it on 
my 
nexus one without the AudioHardwareQSD going to standby. 

Original comment by hunt...@gmail.com on 15 May 2010 at 7:00

GoogleCodeExporter commented 9 years ago
Ok guys. I've got a fix!
http://hificorder.blogspot.com/

Original comment by hunt...@gmail.com on 3 Jun 2010 at 7:02

GoogleCodeExporter commented 9 years ago
I am running latest SD 1.5.2beta with CM 5.0.8 .. no luck.  Is there a planned 
update based on the link above?

Original comment by ianbmacd...@gmail.com on 28 Jun 2010 at 3:39

GoogleCodeExporter commented 9 years ago
So I moved my Vocalocity SIP to pbxes.org as default inbound/outbound, and just 
had a 5 minute + call..  Is this pbxes.org masking the issue or just I just get 
lucky?  If this problem re-occurs, I'll post another comment.

Original comment by ianbmacd...@gmail.com on 28 Jun 2010 at 4:23

GoogleCodeExporter commented 9 years ago
PBXes documents the fact that calls to skype are limited to 3 minutes per this 
page: http://www1.pbxes.com/wiki/index.php/Skype

Original comment by scree...@gmail.com on 6 Apr 2011 at 6:20