From: Jeff Lenk Date: Sat, 30 Nov 2013 04:23:08 +0000 (-0600) Subject: FS-5989 --resolve X-Git-Tag: v1.4.1~2^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e6852fd88f40332c3c9bdb3e5958f2c85a02b2c;p=thirdparty%2Ffreeswitch.git FS-5989 --resolve --- diff --git a/src/mod/applications/mod_avmd/mod_avmd.c b/src/mod/applications/mod_avmd/mod_avmd.c index 15f954b326..68c72755fc 100644 --- a/src/mod/applications/mod_avmd/mod_avmd.c +++ b/src/mod/applications/mod_avmd/mod_avmd.c @@ -539,7 +539,7 @@ static void avmd_process(avmd_session_t *session, switch_frame_t *frame) /*! If variance is less than threshold then we have detection */ if(v < VARIANCE_THRESHOLD){ - switch_channel_execute_on(switch_core_session_get_channel(session), "execute_on_avmd_beep"); + switch_channel_execute_on(switch_core_session_get_channel(session->session), "execute_on_avmd_beep"); /*! Throw an event to FreeSWITCH */ status = switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, AVMD_EVENT_BEEP);