From: Marc Olivier Chouinard Date: Sat, 9 Jul 2011 00:47:12 +0000 (-0400) Subject: mod_protovm: Add premitive tone playback before recording. Need to make this optiona... X-Git-Tag: v1.2-rc1~108^2^2~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2703a2cd05cda55576f3b1a76d7381ef584971fb;p=thirdparty%2Ffreeswitch.git mod_protovm: Add premitive tone playback before recording. Need to make this optional and configurable --- diff --git a/src/mod/applications/mod_protovm/ivr.c b/src/mod/applications/mod_protovm/ivr.c index 4b1f6ef0cc..a48132b1a2 100644 --- a/src/mod/applications/mod_protovm/ivr.c +++ b/src/mod/applications/mod_protovm/ivr.c @@ -222,6 +222,7 @@ switch_status_t captureMenuRecord(switch_core_session_t *session, dtmf_ss_t *loc if (loc->audio_stopped == SWITCH_FALSE && loc->result == RES_WAITFORMORE) { loc->recorded_audio = SWITCH_TRUE; + switch_ivr_gentones(session, "%(1000, 0, 640)", 0, NULL); /* TODO Make this optional and configurable */ status = switch_ivr_record_file(session, fh, file_path, &args, max_record_len); }