iOS 5 Background socket issues: continued

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi Guys, 

Sorry to bother again but I've come to the end of my tether. The same system that worked under iOS 4 to do backgrounding simply isn't working on iOS 5. I've recompiled pjsip from trunk, I've recompiled using the 1.10 tarred version, I've also tested iPJSUA and am having the same issues with background sockets receiving data. The Asterisk-based PBX I'm testing against has had no changes made to it between iOS 4 and iOS 5. It was working fine and TCP is working perfectly on it. 

If there is a call event in the background I simply get no logging whatsoever. Keepalives are firing in the background and the account is re-registering but it looks like, for whatever reason, that the socket is caching the data until I bring it back to the foreground. Has anyone been able to get pjsip working with backgrounding under iOS 5 - what settings did you change or things did you modify, if any? Are there any asterisk configuration changes I have to make, if any? I've noticed the inclusion of the ;ob parameter on the registrations but that shouldn't have any impact on the socket creation and setup, should it?

I've gone through all of the mailing lists, played around with iPJSUA and its configuration, defaulted it to TCP and had registration working and am still struggling to get any feedback as to what needs to be tweaked or modified. I've tried a range of devices as well, an iPhone 4, an iPhone 4S, an iPhone 3GS and an iPod touch 4th generation just in case it is device specific. The socket is being created as a voip backgrounding socket but for some reason it's caching data that's sent to it. Any help at all would be hugely appreciated and I'm more than willing to help on any patches or put together any documentation that's needed to make sure other users don't have any issues with this system in the future.

Regards, 

-- 
Dan Nolan
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111020/e5322110/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux