Call status in call queue

Hi,
How can I know the status of a call to an intern who is in call queue? If it was answered or not.
With the variable “Set (STATUS = $ {DIALSTATUS})” the asterisk shows:

Set ("DAHDI / 76-1", "STATUS =") in new stack

I need to know the status to continue with the dialplan.
Thank you.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Application_Queue

Queue set this channel variable ABANDONED - If the call was not answered by an agent this variable will be TRUE. also you have the variable QUEUESTATUS -