FS-7721 #resolve #comment this will fix your issue but of course now your example will not function anymore because you are unsetting the input callback and dtmf will be ignored but this is to be expected

This commit is contained in:
Anthony Minessale 2015-06-30 12:30:36 -05:00
parent cde9702859
commit 1d91b7d61c
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ SWITCH_DECLARE(int) CoreSession::recordFile(char *file_name, int time_limit, int
local_fh.silence_hits = silence_hits;
begin_allow_threads();
status = switch_ivr_record_file(session, &local_fh, file_name, &args, time_limit);
status = switch_ivr_record_file(session, &local_fh, file_name, ap, time_limit);
end_allow_threads();
fhp = NULL;