git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16965
d0543943-73ff-0310-b7d9-
9358b9ac24b2
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) {
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) {