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 >