[Home]

Summary:ASTERISK-11207: ChanSPY beep continually when there are not active calls.
Reporter:rebuild (rebuild)Labels:
Date Opened:2008-01-11 04:42:03.000-0600Date Closed:2008-01-23 11:45:29.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_chanspy
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 11738.patch1.txt
Description:app_chanspy.c loops, using 'waitfordigit(waitms)' between beeps.  waitms defaults to 100ms

Previous versions (pre 1.4.13?) had about 5000ms.
Comments:By: Russell Bryant (russell) 2008-01-11 16:09:12.000-0600

Give this little patch a try.

It still will play a "beep" when you start at or get back to the beginning of a potential list of channels to spy on.  However, if you're sitting in a loop with no channels, it will only beep at you once.

By: Russell Bryant (russell) 2008-01-23 11:39:11.000-0600

No feedback?  :(

By: Digium Subversion (svnbot) 2008-01-23 11:44:16.000-0600

Repository: asterisk
Revision: 99923

U   branches/1.4/apps/app_chanspy.c

------------------------------------------------------------------------
r99923 | russell | 2008-01-23 11:44:15 -0600 (Wed, 23 Jan 2008) | 8 lines

ChanSpy issues a beep when it starts at the beginning of a list of channels to
potentially spy on.  However, if there were no matching channels, it would beep
at you over and over, which is pretty annoying.  Now, it will only beep once in
the case that there are no channels to spy on, but it will still beep again once
it reaches the beginning of the channel list again.

(closes issue ASTERISK-11207, patched by me)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=99923

By: Digium Subversion (svnbot) 2008-01-23 11:45:29.000-0600

Repository: asterisk
Revision: 99924

_U  trunk/
U   trunk/apps/app_chanspy.c

------------------------------------------------------------------------
r99924 | russell | 2008-01-23 11:45:29 -0600 (Wed, 23 Jan 2008) | 16 lines

Merged revisions 99923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99923 | russell | 2008-01-23 11:46:55 -0600 (Wed, 23 Jan 2008) | 8 lines

ChanSpy issues a beep when it starts at the beginning of a list of channels to
potentially spy on.  However, if there were no matching channels, it would beep
at you over and over, which is pretty annoying.  Now, it will only beep once in
the case that there are no channels to spy on, but it will still beep again once
it reaches the beginning of the channel list again.

(closes issue ASTERISK-11207, patched by me)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=99924