This is a combination new feature/bug fix for app_chanspy.
authorMark Michelson <mmichelson@digium.com>
Thu, 7 Feb 2008 21:37:00 +0000 (21:37 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 7 Feb 2008 21:37:00 +0000 (21:37 +0000)
commit6e23729a73d2a21bf82d0330dc539bddc8962af2
tree141596f227c2270d7a766cbf83795a2df8e46de1
parent408497916bcbc39fde50bcd76f8d99bdb8ae241b
This is a combination new feature/bug fix for app_chanspy.

New feature: Add the 'e' option, which takes as an argument a list of
interfaces separated by colons. This way, you will only be able to spy
on this limited list of interfaces.

Bug fix: change some pointer checks to ast_strlen_zero so that spying
would work properly even if no channel was specified as the first argument
to chanspy.

(closes issue #10072)
Reported by: xmarksthespot
Patches:
      bugfix+newfeature10072patchtotrunkrev102726.diff uploaded by xmarksthespot (license 16)
  Tested by: xmarksthespot, mvanbaak

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c