In Asterisk CLI, we can use NoOp(something) in dialplan to send something to CLI outout.
We can use this for something useful, for example, if user press “1”, then use NoOP to send “something” to CLI output and upper application can handle user-pressing “1” logic.
But when I tried to switch to use Asterisk AMI, the NoOP(something) didn’t display anything in AMI output.
Is there any good way to do it??
BTW, one more question, how to set global variables in dialplan from AMI ??