liejiaochen / siphon

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

Notification of call only works under interesting circumstances #486

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open app on iPod
2. place call to iPod
3. Nothing happens

What is the expected output? What do you see instead?
It should ring and push a notification to me letting me know I have a call

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

Please provide any additional information below.
I tried a bunch of tests and found that when the same version of siphon was 
open on my iPad (on the same iOS) that it works fine. It doesn't work using 
backgrounder either. Let me know if you need a log file.

I love your work btw and I'm very appreciative of what you do.

Original issue reported on code.google.com by jonathan...@gmail.com on 28 Feb 2011 at 3:16

GoogleCodeExporter commented 9 years ago
It seems logic, because I didn't enable some part of code ;-)
However, could you give some information:
   - which ipod do you use ? Because multitask work on last ipod only.
   - do you know if your SIP provider accept tcp connection? Because iOS accept multitask for tcp connection only.

Original comment by samuelv0...@gmail.com on 28 Feb 2011 at 7:53

GoogleCodeExporter commented 9 years ago
I'm on an ipod touch 4g, so the most recent one. I'm currently using gizmo as 
my SIP provider and it looks like they default to UDP but will change a TCP 
connection if the UDP doesn't work (i.e. if you're behind a firewall). It also 
seems like it should be possibly to manually change to a TCP connection but I 
haven't been able to figure that out yet. Doesn't a UDP connection offer better 
call quality though?

Original comment by jonathan...@gmail.com on 28 Feb 2011 at 1:27

GoogleCodeExporter commented 9 years ago
Oh, I see (through some research) that apple doesn't support wakeup on UDP 
packets.

Original comment by jonathan...@gmail.com on 28 Feb 2011 at 3:34

GoogleCodeExporter commented 9 years ago
The more I research this the more I realize that SIP on the iPhone is really a 
bum deal. Either you have not so good calls over TCP and get notified about it. 
Or you use apples push notifications over UDP and it's not as nice of a user 
experience. Tough decisions.

Original comment by jonathan...@gmail.com on 28 Feb 2011 at 4:12

GoogleCodeExporter commented 9 years ago
In 3.9.3 you will be able to enable background support for TCP connection.
In fact the SIP messages use TCP, the media stays in UDP, so there are no 
quality difference.

Original comment by samuelv0...@gmail.com on 10 Mar 2011 at 7:23

GoogleCodeExporter commented 9 years ago
3.9.3 released, you can update.
If you enable background support, you have to quit and kill app, and restart.

Original comment by samuelv0...@gmail.com on 10 Mar 2011 at 11:25

GoogleCodeExporter commented 9 years ago

Original comment by samuelv0...@gmail.com on 20 Mar 2011 at 11:13