From 5127b64df83bb93e28ff018a5440d8f46aa6e2b6 Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 18 Nov 2014 10:22:13 -0600 Subject: [PATCH] FS-7014: [mod_sofia] don't touch the tech_pvt when a call has just ended, leaving us with a null tech_pvt --- src/mod/endpoints/mod_sofia/sofia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 3bff27e1cd..c602d4273d 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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_proceeding: case nua_callstate_completing: + case nua_callstate_calling: if (!(session && channel && tech_pvt)) goto done; default: