[asterisk-users] Function to query ASTDB families

Olivier oza-4h07 at myamail.com
Tue Sep 8 16:33:20 CDT 2009


Hi,

Asterisk database is made of <family><key> records such as:
fam  key1  val1
fam  key2  val2
...
fam  key100  val100

I'm looking for the smartest way to iterate among different keys associated
to a given family.

One way to do this is to parse "database show fam" response.
Is there something smarter ?
Something like ${DBKEYS(fam)} which would evaluate to "key1 key2  ...
key100".

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090908/2b1d43d7/attachment.htm 


More information about the asterisk-users mailing list