Hi Even, Thanks for the suggestion. This is a good idea indeed. In fact, we add the multitasking support detection in the pjsua-lib instead so that the application does not need to worry about this anymore. For more details, please refer to ticket #1203 (http://trac.pjsip.org/repos/ticket/1203) Regards, Ming On Wed, Feb 23, 2011 at 8:21 PM, Even Andr? Fiskvik <eaf at oyatel.com> wrote: > Thanks for the pointer, we just needed to use this one ourselves to make our work with an iPhone 3G. > Should this perhaps be added to the ipjsua reference code? > The device capability test could be checked with [UIDevice multitaskingSupported]. > > Best regards, > Even Andr? > > On 9. nov. 2010, at 18.13, Ming wrote: > >> Hi Brad, >> >> For devices that do not support multitasking, you have to disable the >> bg feature using: pj_activesock_enable_iphone_os_bg(PJ_FALSE) >> >> Regards, >> Ming >> >> On Wed, Nov 10, 2010 at 1:00 AM, Bradley Sweeney <brad.sweeney at gmail.com> wrote: >>> Hello All, >>> >>> I have an iPhone app in development using PJSIP 1.8 which allows me to make successful calls and SIP registrations on a device running iOS 4 and 4.1 just fine. ?Unfortunately I am having issues running the app on a device such as an iPod touch running iOS 3.1.2. ?The application runs fine on 3.1.2 using transports that are UDP, but not with TCP. ?The issue seems to point to the method activesock_create_iphone_os_stream in activesock.c. ?I was wondering if anyone might have been having issues with this particular function on when running iOS 3.1.2. I am currently encountering an EXC_BAD_ACCESS error. >>> >>> When doing a standard compile of PJSIP, from what I have read in the documentation it uses the latest version of the iPhone SDK by default. For example, the most recent version of the SDK on my machine is 4.1. If I want to use the compiled libraries on devices with running iOS version of both the 3 and 4 varieties what version of the iPhone OS should I be compiling PJSIP with? The current build that I am using in my app was compiled using iOS 4.1. >>> >>> Thanks in advance. >>> _____________________ >>> Brad Sweeney >>> brad.sweeney at gmail.com >>> >>> >>> >>> >>> >>> _______________________________________________ >>> 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 >