From: Anthony Minessale Date: Tue, 10 Feb 2015 04:34:04 +0000 (-0600) Subject: cannot send call state about state destroy, this is an internal state and the session... X-Git-Tag: v1.4.17~1^2~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dc48df4261f82c9c58620bbdea6d8a70086c7e2;p=thirdparty%2Ffreeswitch.git cannot send call state about state destroy, this is an internal state and the session is already destoyed. Bug from original implementation --- diff --git a/src/mod/endpoints/mod_rtmp/mod_rtmp.c b/src/mod/endpoints/mod_rtmp/mod_rtmp.c index 9e29601b4f..2ec48628ae 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -222,9 +222,6 @@ switch_status_t rtmp_on_destroy(switch_core_session_t *session) tech_pvt = switch_core_session_get_private(session); if (tech_pvt) { - - rtmp_notify_call_state(session); - if (switch_core_codec_ready(&tech_pvt->read_codec)) { switch_core_codec_destroy(&tech_pvt->read_codec); }