From: Anthony Minessale Date: Tue, 14 Aug 2012 22:06:02 +0000 (-0500) Subject: FS-4079 revert 4ef9b3fe5622e417e8cd2916491e0058492a3bb7 X-Git-Tag: v1.2.3^2~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d05762085b3b4cbe07a31e620451cc780621700;p=thirdparty%2Ffreeswitch.git FS-4079 revert 4ef9b3fe5622e417e8cd2916491e0058492a3bb7 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 17abe773e9..08f0686625 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -969,7 +969,6 @@ static void our_sofia_event_callback(nua_event_t event, int locked = 0; int check_destroy = 1; -#if 0 if (sofia_private && sofia_private->is_call && sofia_private->de) { sofia_dispatch_event_t *qde = sofia_private->de; sofia_private->de = NULL; @@ -981,7 +980,6 @@ static void our_sofia_event_callback(nua_event_t event, sofia_process_dispatch_event(&qde); } } -#endif profile->last_sip_event = switch_time_now(); @@ -1706,9 +1704,8 @@ void sofia_event_callback(nua_event_t event, memset(sofia_private, 0, sizeof(*sofia_private)); sofia_private->is_call++; sofia_private->is_static++; - //sofia_private->de = de; + sofia_private->de = de; nua_handle_bind(nh, sofia_private); - sofia_process_dispatch_event(&de); return; }