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

2012-09-03 Thread Shitian Long
Thanks for everyone's message, Finally, I figure out how to use AMI fetch data from realtime. After log in AMI. First step, a setVar action should be sent (for example, in this case, I am interested in the content of realtime family = test_family, key = mykey,) setVar action should look like

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

2012-09-01 Thread Olle E. Johansson
31 aug 2012 kl. 16:58 skrev Shitian Long : > Do you think it is a good way to use Manager API "command action" to > implement this feature? No. The command action should be avoided since the output from the CLI commands is not made for parsing by applications and may change too. Sometimes we cu

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

2012-08-31 Thread Shitian Long
t; From: Shitian Long [mailto:longst...@gmail.com] > Sent: Friday, August 31, 2012 9:59 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion; > da...@debsinc.com > Subject: Re: [asterisk-users] Good way to query data from asterisk realtime > with Asterisk Manager API > > Do

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

2012-08-31 Thread Shitian Long
function. > > -Original Message- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@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: [aste

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

2012-08-31 Thread Warren Selby
On Fri, Aug 31, 2012 at 9:36 AM, Shitian Long wrote: > Hello. > > I am trying to use Asterisk Manager API query data from realtime. From > Asterisk CLI, we could use > realtime load > query realtime > it would have response like > >Column Name Column Value >

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

2012-08-31 Thread Danny Nicholas
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 loadquery r

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

2012-08-31 Thread Shitian Long
Hello. I am trying to use Asterisk Manager API query data from realtime. From Asterisk CLI, we could use realtime load query realtime it would have response like Column Name Column Value