FS-5989 --resolve

This commit is contained in:
Jeff Lenk 2013-11-29 22:23:08 -06:00
parent bb53175526
commit 4e6852fd88
1 changed files with 1 additions and 1 deletions

View File

@ -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 variance is less than threshold then we have detection */
if(v < VARIANCE_THRESHOLD){ 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 */ /*! Throw an event to FreeSWITCH */
status = switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, AVMD_EVENT_BEEP); status = switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, AVMD_EVENT_BEEP);