From cb79d085922a18681fb7901f58edde7b30b8bb67 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 15 Mar 2010 20:41:56 +0000 Subject: [PATCH] FSCORE-571 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16995 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_play_say.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index e822fcbf9a..841cec94c4 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -694,7 +694,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se break; } } else if (switch_test_flag(read_frame, SFF_CNG) && fill_cng) { - len = write_frame.datalen; + len = write_frame.datalen / 2; if (switch_core_file_write(fh, write_frame.data, &len) != SWITCH_STATUS_SUCCESS) { break; }