git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1230 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-04-22 16:12:03 +00:00
parent 1748885aae
commit 1917b792c5
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ SWITCH_DECLARE(switch_status) switch_rtp_enable_vad(switch_rtp *rtp_session, swi
rtp_session->vad_data.next_scan = time(NULL); rtp_session->vad_data.next_scan = time(NULL);
rtp_session->vad_data.scan_freq = 0; rtp_session->vad_data.scan_freq = 0;
switch_set_flag(rtp_session, SWITCH_RTP_FLAG_VAD); switch_set_flag(rtp_session, SWITCH_RTP_FLAG_VAD);
switch_set_flag(&rtp_session->vad_data, SWITCH_VAD_FLAG_CNG);
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }