git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10638
d0543943-73ff-0310-b7d9-
9358b9ac24b2
switch_event_t *event;
switch_status_t status;
switch_event_t *event_copy;
+ switch_channel_t *channel = switch_core_session_get_channel(vmd_info->session);
switch(vmd_info->state){
case BEEP_DETECTED:
switch_core_session_queue_event(vmd_info->session, &event);
switch_event_fire(&event_copy);
+ switch_log_printf(
+ SWITCH_CHANNEL_LOG,
+ SWITCH_LOG_INFO,
+ "<<< VMD - Beep Detected >>>\n"
+ );
+ switch_channel_set_variable(channel, "vmd_detect", "TRUE");
+
vmd_info->timestamp = 0;
}