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

Shitian Long longst.cn at gmail.com
Fri Aug 31 09:58:32 CDT 2012


Do you think it is a good way to use Manager API "command action" to implement this feature?


On Aug 31, 2012, at 4:42 PM, "Danny Nicholas" <danny at debsinc.com> wrote:

> There might be a specific command to do it, but you can do almost any CLI
> command using "command" function.
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Shitian Long
> Sent: Friday, August 31, 2012 9:36 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] Good way to query data from asterisk realtime with
> Asterisk Manager API
> 
> 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.
> 
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
> Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list