Hi Darald, Thanks, for your work on getting background execution working. Is there any way you can email the list a copy of iosvoip.h/.c? Thanks Maunil On Mon, Aug 2, 2010 at 10:47 AM, Darald Trinka <dtrinka at gmail.com> wrote: > We have been seriously working on adding iOS4 background support to PJ 1.6 > for about a month now. Here is a summary of where we are at. > > Most of the background issues are addressed at the application level not in > PJ. See this Apple document to address them: > https://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html. > That is, keeping an *active *voip call alive while in the background; > waking up the application to re-register/send a keep alive messages; and > using UILocalNotification with your UIApplicationDelegate to display > incoming call notifications. > > The main change we made to PJ is to support incoming SIP messages while the > app is suspended in the background. The changes mainly focuses on wrapping > the bsd-socket as a CFReadStreamRef/CFWriteStreamRef - attached is a summary > of the changes. Note: using UDP for sip is not supported by iOS 4, if you > want to receive incoming call notifications while in the background. > Warning, these changes have *NOT *been committed back into the project nor > have they been rigorously tested. We tried to do this in the cleanest way > possible and to minimize the impact to the existing code. > > Now that we can have iOS4 background support we are seeing an issue we need > help with. > > - After making a voip call, iOS still thinks there is an active voip call - > meaning it displays the double red "on call" status bar. It appears that PJ > 1.6 doesn't properly close the mic and/or speaker. We > use pjsua_call_hangup_all to terminate calls... > > > Best regards, > Darald Trinka > > > On Aug 2, 2010, at 7:27 AM, Benny Prijono wrote: > > 1.7 should be out in the next few days, sorry for the delay! > > iOS4 background exec support is another story though. While we want to > support it as soon as possible, there's no definite timeline for it > yet. > > Cheers, > Benny > > On Mon, Aug 2, 2010 at 6:04 AM, fred mcclain <fmcclain at boojummobile.com> > wrote: > > I second both of these questions! Particularly will 1.7 support iPhone > > background execution? > > Thanks, > > Fred > > On Aug 1, 2010, at 2:58 PM, Maunil Sanghavi wrote: > > > Hi, > > Is there an approximate timeline for when 1.7 is going to be released? Also > > when do you expect to support iPhone background execution? > > Thanks, > > Maunil > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > pjsip mailing list > > pjsip at lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > pjsip mailing list > > pjsip at lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100802/63d06ca2/attachment.html>