I know I can control the tel by Asterisk Manager Interface commands, like transfer, hangup, or make a new call.
But how can I spy a channel by AMI commands?
I try to use help but it seems not have any command about spy function.
It seems a app called ‘chan_spy’ but how can I use it by AMI?