From: Anthony Minessale Date: Tue, 30 Jun 2015 17:30:36 +0000 (-0500) Subject: FS-7721 #resolve #comment this will fix your issue but of course now your example... X-Git-Tag: v1.6.2~368 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d91b7d61cddb40417e869b8d889aaabda44cf74;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/switch_cpp.cpp b/src/switch_cpp.cpp index 4e4a47aa3a..335c7ab88a 100644 --- a/src/switch_cpp.cpp +++ b/src/switch_cpp.cpp @@ -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;