How to locate a match in unknown key database?

johnsonyuan
Joined: Fri 01 of Jul, 2011

How to locate a match in unknown key database?

Posted:Fri 01 of Jul, 2011 (06:27 UTC)
Dear all, I am a newbie on Asterisk.

Currently I wish to do a search for specific variable in a database (in this case is 1001), and i do not know the key in the database. (DB(family/key))

The following is my code:
exten => 500,1,ExecIf($[${DB(family/unknown)=1001}]|DB_DELETE|family/unknown)


What should i enter as the key in order to scan all entries in the database?