Thanks for the info.. Yeas I was confused when I was changing os_auto.h then I see it goes back to the old value.. Thanks again.... -----Original Message----- From: Hemant Kotdiya Sent: Friday, May 11, 2012 4:06 AM To: pjsip list Subject: Re: How to Disable Background Support Hi Ashraf, Disable these flags in os_auto.h.in file. os_auto.h is a auto generated file from os_auto.h.in regards, Hemant On Fri, May 11, 2012 at 1:26 AM, Ashraf Jaddo <ash.x.ash at hotmail.com> wrote: > Hello All, > > I am trying to figure out how to disable background support in PJSIP 1.12 > .. > I read that I can do this at runtime or at compile time. > > > for Compile time, do I need to change the os_auto.h file and set both of > PJ_ACTIVESOCK_TCP_IPHONE_OS_BG / PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT > to > 0 ? I did this but everything I run ./configure-iphone it creates a new > os_auto.h file with bot values are set back to 1 !!! > > or the way to do this is by passing some flag it in ./configure_iphone?? > or > change my config_site_sample.h to add both defines as 0?? > > > For the runtime way.. I could not find and PJSUA API that allow me to > disable BG?? am I missing something.. > > > Best Regards, > > AsH > > _______________________________________________ > 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