FS-7014: [mod_sofia] don't touch the tech_pvt when a call has just ended, leaving us with a null tech_pvt

This commit is contained in:
Brian West 2014-11-18 10:22:13 -06:00
parent 8eaaa083ad
commit 5127b64df8
1 changed files with 1 additions and 0 deletions

View File

@ -6693,6 +6693,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
case nua_callstate_received: case nua_callstate_received:
case nua_callstate_proceeding: case nua_callstate_proceeding:
case nua_callstate_completing: case nua_callstate_completing:
case nua_callstate_calling:
if (!(session && channel && tech_pvt)) if (!(session && channel && tech_pvt))
goto done; goto done;
default: default: