]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4185 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 4 May 2012 13:32:32 +0000 (08:32 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 4 May 2012 13:32:32 +0000 (08:32 -0500)
src/switch_ivr.c

index b9ef71f2bf750b2d651c04d4c8768c865dfdd73d..432bb9edc69df3b97fb3fa7cbea7570c23c15562 100644 (file)
@@ -2946,6 +2946,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_process_fh(switch_core_session_t *ses
                        }
                        return SWITCH_STATUS_SUCCESS;
                } else if (!strcasecmp(cmd, "stop")) {
+                       switch_set_flag(fhp, SWITCH_FILE_DONE);
                        return SWITCH_STATUS_FALSE;
                } else if (!strcasecmp(cmd, "truncate")) {
                        switch_core_file_truncate(fhp, 0);