diff -Naur bristuff-0.2.0-RC3.orig/asterisk-1.0.3/res/res_monitor.c bristuff-0.2.0-RC3/asterisk-1.0.3/res/res_monitor.c --- bristuff-0.2.0-RC3.orig/asterisk-1.0.3/res/res_monitor.c 2004-11-05 02:45:59.000000000 +0000 +++ bristuff-0.2.0-RC3/asterisk-1.0.3/res/res_monitor.c 2004-12-14 10:39:41.000000000 +0000 @@ -235,7 +235,7 @@ /* Set the execute application */ execute = pbx_builtin_getvar_helper(chan, "MONITOR_EXEC"); if (!execute || ast_strlen_zero(execute)) { - execute = "nice -n 19 soxmix"; + execute = "nice -n 19 makestereo -Q "; delfiles = 1; } execute_args = pbx_builtin_getvar_helper(chan, "MONITOR_EXEC_ARGS"); @@ -243,12 +243,12 @@ execute_args = ""; } - snprintf(tmp, sizeof(tmp), "%s \"%s/%s-in.%s\" \"%s/%s-out.%s\" \"%s/%s.%s\" %s &", execute, dir, name, format, dir, name, format, dir, name, format,execute_args); + snprintf(tmp, sizeof(tmp), "%s \"%s/%s-in.%s\" \"%s/%s-out.%s\" - | oggenc - -r -R 8000 -q1 -o \"%s/%s.ogg\" %s &", execute, dir, name, format, dir, name, format, dir, name,execute_args); if (delfiles) { - snprintf(tmp2,sizeof(tmp2), "( %s& rm -f \"%s\"/%s-* ) &",tmp, dir ,name); /* remove legs when done mixing */ + snprintf(tmp2,sizeof(tmp2), "( %s& rm -f \"%s/%s-*\" ) &",tmp, dir ,name); /* remove legs when done mixing */ strncpy(tmp, tmp2, sizeof(tmp) - 1); } - ast_verbose("monitor executing %s\n",tmp); + ast_log(LOG_DEBUG,"monitor executing %s\n",tmp); if (ast_safe_system(tmp) == -1) ast_log(LOG_WARNING, "Execute of %s failed.\n",tmp); }