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
31 aug 2012 kl. 16:58 skrev Shitian Long longst...@gmail.com:
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.
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
On Fri, Aug 31, 2012 at 9:36 AM, Shitian Long longst...@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
-
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: [asterisk-users] Good way to query data from asterisk realtime
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 you think it is a good way to use