Hi! When some of the app_config parameters has changed, I always call pjsua_destroy() and then reinitialize everything again. That works perfect for me without any noticeable performance drop. You should probably look into why your pjsua_destroy() crashes. Please post any solution if you find out how to do what you want. /Mathias On Dec 19, 2011, at 1:41 PM, Shrouk Khan wrote: hi guys, can anyone tell me, what is the proper way to reinitialize pjsua . the main purpose is some configuration in the app_config changes during runtime (nat , ice , stun settings) and i would like to apply those changes without restarting the application (this is on iOS). pjsua_destroy() somehow crashes on iphone. i was thinking if it is possible to apply app_config changes on the fly. -- Regards Shrouk Khan (Khan) System Administrator / Telecommunication System Developer Office: +354 4400807 (Reykjavik) +44 2031370800 (London) Mobile: +66 875049439 (Bangkok) Web: www.softverk.is<http://www.softverk.is/> Reykjavik, Iceland // London, UK // Bangkok, Thailand _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org<mailto: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/20111220/1aac6630/attachment.html>