<br><br><div class="gmail_quote">2009/5/20 Gordon Henderson <span dir="ltr"><<a href="mailto:gordon%2Basterisk@drogon.net">gordon+asterisk@drogon.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, 19 May 2009, Olivier wrote:<br>
<br>
> Hi,<br>
><br>
> In ASTDB, I've got a rather long list of entries like:<br>
> /FamilyA/Key1 Value1<br>
> /FamilyA/Key2 Value2<br>
> /FamilyA/Key3 Value3<br>
> ...<br>
><br>
> Instead of sending several DBGet queries (and parsing every response), I'm<br>
> wondering if a single "database show" or "database show family" query could<br>
> be implemented.<br>
<br>
</div>You can send a Command: via the manager API and parse the return..<br>
<br>
So send it a<br>
<br>
Action: Command<br>
Command: database show FamilyA<br>
<br>
and just suck up and parse the results...</blockquote><div><br>Great : that's exactly what I was looking for !! <br>Thanks for helping me !!<br><br>It's strange I couldn't relate this Command action with the "database show" I was looking for.<br>
I must have been influenced by DBPut and DBGet which more obviously relate to CLI equivalents.<br><br>Maybe a see-also line in "help database show" would help to relate CLI with AMI but that's another story ...<br>
<br>Thanks again<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Gordon<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>