[asterisk-users] Good way to query data from asterisk realtime with Asterisk Manager API

Warren Selby wcselby at selbytech.com
Fri Aug 31 09:52:57 CDT 2012


On Fri, Aug 31, 2012 at 9:36 AM, Shitian Long <longst.cn at gmail.com> wrote:

> Hello.
>
> I am trying to use Asterisk Manager API query data from realtime. From
> Asterisk CLI, we could use
> realtime load <realtime-family> <key> <matched key value>
> query realtime
> it would have response like
>
>                    Column Name  Column Value
>           --------------------  --------------------
>                             id  1
>                          mykey  content
>                        myvalue  value
>
> I am wondering how I could make this type of query from Manager API.
>
>
> Thanks for your time in advance.
>
>
Is there a specific reason you want to access the realtime data through the
Manager API and not directly from the database itself?  It seems like the
Manager API would add an extra layer to whatever you're trying to
accomplish.


-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120831/55821945/attachment.htm>


More information about the asterisk-users mailing list