Ami event debug in asterisk console

Hi ,
How to debug the ami event in asterisk console . For example , How to see what is the event which client sent to the Asterisk server .

Thanks ,

I assume you meant action, not event.I don’t believe manager.c’s builtin debugging goes to that level. The easiest approach is to use tcpdump/Wireshark. I think there is also a socket T application for LInux. You could always enhance manager.c.