From bb1fc3e12f7f0d1fb1ed701a5cfc10a7fb7c7b7c Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 26 Jun 2009 21:48:41 +0000 Subject: [PATCH] Add 's' option to ChanSpy, which makes the app exit when no channels are left to spy on. (closes issue #14594) Reported by: JimDickenson Patches: chanspy.diff uploaded by JimDickenson (license 710) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@203842 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- CHANGES | 3 +++ apps/app_chanspy.c | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGES b/CHANGES index 722e06d9c3..95b26bf3cf 100644 --- a/CHANGES +++ b/CHANGES @@ -60,6 +60,9 @@ Applications exit the application. * The Voicemail application has been improved to automatically ignore messages that only contain silence. + * The ChanSpy application now has the 's' option, which makes the application + automatically exit once it hits a point where no more channels are available + to spy on. Dialplan Functions ------------------ diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 98516cd89b..876994b4e3 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -135,6 +135,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") +