Allow the Hangup manager action to match channels by regex
authorMark Murawki <markm@intellasoft.net>
Tue, 3 Apr 2012 19:31:25 +0000 (19:31 +0000)
committerMark Murawki <markm@intellasoft.net>
Tue, 3 Apr 2012 19:31:25 +0000 (19:31 +0000)
commite4252eac1010af969007afb525871242855d39e7
tree27f4bcb1ede2c708c34454ba98e5880a7df836a5
parent9cc6f2c59e41c0d5fa34f03950131a4eb81cc7ab
Allow the Hangup manager action to match channels by regex

* Hangup now can take a regular expression as the Channel option.  If you want
  to hangup multiple channels, use /regex/ as the Channel option.  Existing
  behavior to hanging up a single channel is unchanged, but if you pass a regex,
  the manager will send you a list of channels back that were hung up.

(closes issue ASTERISK-19575)
Reported by: Mark Murawski
Tested by: Mark Murawski

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
include/asterisk/channel.h
include/asterisk/manager.h
include/asterisk/strings.h
main/channel.c
main/manager.c
main/utils.c