ami_testhooks.c automatically registers hook
authorDavid Brooks <dbrooks@digium.com>
Fri, 6 Nov 2009 22:07:22 +0000 (22:07 +0000)
committerDavid Brooks <dbrooks@digium.com>
Fri, 6 Nov 2009 22:07:22 +0000 (22:07 +0000)
commitdfa1fa560d1dd24e4e702a3a757589383799d471
tree8d5c72cad1b485ae491217246fc7432cbac5603f
parent341c7b60ddf51926539cc70bc3f77beac28231a8
ami_testhooks.c automatically registers hook

ami_testhooks.c was registering for AMI events upon module load. Moved the registration
to its own CLI command. Added CLI command for unregistering the hook. Changed some of
the wording, removed unnecessary arguments/parameters.

Reported by: rmudgett

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
tests/test_amihooks.c