Modified: freeswitch/trunk/src/switch_ivr_play_say.c (16964 => 16965)
--- freeswitch/trunk/src/switch_ivr_play_say.c 2010-03-10 23:40:14 UTC (rev 16964)
+++ freeswitch/trunk/src/switch_ivr_play_say.c 2010-03-10 23:53:12 UTC (rev 16965)
@@ -418,7 +418,7 @@
if ((vval = switch_channel_get_variable(channel, "record_fill_cng"))) {
- if (switch_true(vval)) {
+ if (!strcasecmp(vval, "true")) {
fill_cng = 1400;
} else {
if ((fill_cng = atoi(vval)) < 0) {
@@ -430,7 +430,7 @@
if ((vval = switch_channel_get_variable(channel, "record_waste_resources"))) {
- if (switch_true(vval)) {
+ if (!strcasecmp(vval, "true")) {
waste_resources = 1400;
} else {
if ((waste_resources = atoi(vval)) < 0) {