Asterisk Manager API question

I’m trying to track calls that are being put on hold and I’ve figure out the hold/off hold text:
HOLD:
Event: ExtensionStatus
Privilege: call,all
Exten: 1000
Context: ext-local
Status: 16

Picked back up:
Event: ExtensionStatus
Privilege: call,all
Exten: 1000
Context: ext-local
Status: 1

Now the problem is that there is no unique id showing up to tell me which call has been put on hold.

Anyone one now how to get that information?

Bump…

Hi,

You could enumerate through the current active calls and see which are associated with that extension?

Graham

Well they are stored in a DB and I could figure out what calls are associated to the extension, but I how do I figure out which one are on hold and then I could figure out which one isn’t? Would I have to do an API call asking the status?