[asterisk-users] Feature request: "database show" from manager API

Gordon Henderson gordon+asterisk at drogon.net
Wed May 20 02:55:01 CDT 2009


On Tue, 19 May 2009, Olivier wrote:

> Hi,
>
> In ASTDB, I've got a rather long list of entries like:
> /FamilyA/Key1    Value1
> /FamilyA/Key2    Value2
> /FamilyA/Key3    Value3
> ...
>
> Instead of sending several DBGet queries (and parsing every response), I'm
> wondering if a single "database show" or "database show family" query could
> be implemented.

You can send a Command: via the manager API and parse the return..

So send it a

   Action: Command
   Command: database show FamilyA

and just suck up and parse the results...

Gordon



More information about the asterisk-users mailing list