From: Brian West Date: Tue, 18 Nov 2014 16:22:13 +0000 (-0600) Subject: FS-7014: [mod_sofia] don't touch the tech_pvt when a call has just ended, leaving... X-Git-Tag: v1.4.14~1^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5127b64df83bb93e28ff018a5440d8f46aa6e2b6;p=thirdparty%2Ffreeswitch.git FS-7014: [mod_sofia] don't touch the tech_pvt when a call has just ended, leaving us with a null tech_pvt --- 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: