[asterisk-users] Asterisk 12 Dialplan
Murthy Gandikota
mgandikota at nts.net
Tue Oct 28 16:48:48 CDT 2014
Tried this:
wscat -c
"ws://myhost.mydomain.net:8090/ari/events?api_key=secret:secret&app=hell
o-world"
It is only showing the stasis related events. I am interested in AMI
events, specifically Varset.
Thanks
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Murthy
Gandikota
Sent: Monday, October 27, 2014 7:54 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk 12 Dialplan
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matthew
Jordan
Sent: Monday, October 27, 2014 3:15 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk 12 Dialplan
On Mon, Oct 27, 2014 at 2:40 PM, Murthy Gandikota <mgandikota at nts.net>
wrote:
I am unable to detect the Manager_Setvar event using ARI.
Can you please let me know, in ARI lingo, the curl or javascript code to
detect the AMI Manager_Setvar event for myvar in the following dialplan:
[default]
exten => 1000,1,NoOp()
same => n,Answer()
same => n,set(myvar=test)
same => n,Stasis(hello-world)
same => n,Hangup()
Thanks
Perhaps it would be easier if you provided some information about the
ARI application you've written. Have you connected a WebSocket? Are you
receiving other ARI events?
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
I am using ari4java to capture stasis events like StasisStart,
StatisEnd, etc. However, I am unable to capture the Varset event as
explained before. In particular the myvar variable is not associated
with any app It is perhaps a channel variable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141028/41ff63c2/attachment.html>
More information about the asterisk-users
mailing list