make sure recovering calls start with re-invite instead of invite handler

This commit is contained in:
Anthony Minessale 2012-08-22 15:51:35 -05:00
parent 33e642e98c
commit 8aaca1cef3
1 changed files with 4 additions and 0 deletions

View File

@ -2506,6 +2506,10 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
sofia_private->is_call++;
sofia_private->is_static++;
if (sofia_test_flag(tech_pvt, TFLAG_RECOVERING)) {
sofia_private->is_call++;
}
tech_pvt->sofia_private = sofia_private;
switch_copy_string(tech_pvt->sofia_private->uuid, switch_core_session_get_uuid(session), sizeof(tech_pvt->sofia_private->uuid));
nua_handle_bind(tech_pvt->nh, tech_pvt->sofia_private);