Index: apps/app_chanspy.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_chanspy.c,v retrieving revision 1.15 diff -u -r1.15 app_chanspy.c --- apps/app_chanspy.c 21 Apr 2005 06:30:23 -0000 1.15 +++ apps/app_chanspy.c 20 May 2005 16:54:35 -0000 @@ -712,13 +712,15 @@ } for(;;) { - res = ast_streamfile(chan, "beep", chan->language); - if (!res) - res = ast_waitstream(chan, ""); - if (res < 0) { - ast_clear_flag(chan, AST_FLAG_SPYING); - break; - } + if (!silent) { + res = ast_streamfile(chan, "beep", chan->language); + if (!res) + res = ast_waitstream(chan, ""); + if (res < 0) { + ast_clear_flag(chan, AST_FLAG_SPYING); + break; + } + } count = 0; res = ast_waitfordigit(chan, waitms);