[commit] r12895 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: anthm Date: Thu Apr 2 14:57:03 2009 New Revision: 12895 Log: add workaround back in Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Thu Apr 2 14:57:03 2009 @@ -2636,6 +2636,11 @@ } } + /* dirty hack to avoid race condition in the library */ + if (status == 200 || status == 183) { + switch_yield(100);// printf("Avoiding Segfault!!!\n"); + } + if (switch_channel_test_flag(channel, CF_PROXY_MODE) || switch_channel_test_flag(channel, CF_PROXY_MEDIA)) { if (!sofia_test_flag(tech_pvt, TFLAG_SENT_UPDATE)) {
participants (1)
-
FreeSWITCH SVN