How to find astdb keys within a family using AMI?


I’m trying to process information in the astb through AMI. I need to get the keys from a specific family, but those keys are not previously known.

Is there a way to get the keys within a family using AMI. I mean something similar to the ‘db_keys’ dialplan function.

Thank you!

Using the Getvar action, you can request the keys using the DB_KEYS dialplan function.

Something like:

Action: Getvar
Variable: DB_KEYS(foo)
1 Like