I am writing an iPhone application. We are using a TCP proxy for SIP so that we can use iOS voip socket handling. Everything seems to be going well until the io_select activity starts. Somehow this is triggering too many background wake events and killing the application. So my question is: what exactly is going on when the following occurs? PLOG --> 2012-07-06 17:49:01.375 Star2Star[977:750f] SIP PJSIP message: 17:49:01.374 ioq_select UDP has been replaced successfully! PLOG --> 2012-07-06 17:49:01.375 Star2Star[977:750f] SIP PJSIP message: 17:49:01.375 ioq_select Attempting to replace UDP socket 41 PLOG --> 2012-07-06 17:49:01.376 Star2Star[977:750f] SIP PJSIP message: 17:49:01.376 ioq_select UDP has been replaced successfully! PLOG --> 2012-07-06 17:49:01.377 Star2Star[977:750f] SIP PJSIP message: 17:49:01.376 ioq_select Attempting to replace UDP socket 42 PLOG --> 2012-07-06 17:49:01.377 Star2Star[977:750f] SIP PJSIP message: 17:49:01.377 ioq_select UDP has been replaced successfully! PLOG --> 2012-07-06 17:49:01.378 Star2Star[977:750f] SIP PJSIP message: 17:49:01.377 ioq_select Attempting to replace UDP socket 43 PLOG --> 2012-07-06 17:49:01.379 Star2Star[977:750f] SIP PJSIP message: 17:49:01.379 ioq_select UDP has been replaced successfully! PLOG --> 2012-07-06 17:49:01.379 Star2Star[977:750f] SIP PJSIP message: 17:49:01.379 ioq_select Attempting to replace UDP socket 44 PLOG --> 2012-07-06 17:49:01.381 Star2Star[977:750f] SIP PJSIP message: 17:49:01.381 ioq_select UDP has been replaced successfully! PLOG --> 2012-07-06 17:49:01.381 Star2Star[977:750f] SIP PJSIP message: 17:49:01.381 ioq_select Attempting to replace UDP socket 45 PLOG --> 2012-07-06 17:49:01.382 Star2Star[977:750f] SIP PJSIP message: 17:49:01.382 ioq_select UDP has been replaced successfully! Somehow at the end of this sequence the application is killed with too many background wake ups. The crux of the matter is that this is not due to inbound traffic on the SIP socket as I have verified that the SIP server is not generating traffic to the phone at this time. So what's up and how do I fix this? -- Thomas Merriewether Star2Star Communications -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120709/25869175/attachment.html>