FS-4079 try this

This commit is contained in:
Anthony Minessale 2012-08-07 17:23:01 -05:00
parent 3818cae3e6
commit d806014009
1 changed files with 7 additions and 1 deletions

View File

@ -972,7 +972,13 @@ static void our_sofia_event_callback(nua_event_t event,
if (sofia_private && sofia_private->is_call && sofia_private->de) { if (sofia_private && sofia_private->is_call && sofia_private->de) {
sofia_dispatch_event_t *qde = sofia_private->de; sofia_dispatch_event_t *qde = sofia_private->de;
sofia_private->de = NULL; sofia_private->de = NULL;
sofia_process_dispatch_event(&qde);
if (event == nua_i_cancel) {
nua_destroy_event(qde->event);
su_free(nh->nh_home, qde);
} else {
sofia_process_dispatch_event(&qde);
}
} }
profile->last_sip_event = switch_time_now(); profile->last_sip_event = switch_time_now();