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 >