________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Matthew Jordan Sent: Monday, October 27, 2014 10:44 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 12 Dialplan On Mon, Oct 27, 2014 at 10:56 AM, Murthy Gandikota <[email protected]> wrote: ________________________________ Thanks, Richard. How do I get manager events such as VarSetEvent (https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+ManagerEvent_Var Set) using ARI? Events are provided by your WebSocket connection - a good overview of how this works is provided on the wiki [1]. You will receive events for resources that you are subscribed to; you are automatically subscribed to any channel that enters your Stasis application [2]. You can create subscriptions to things outside of your application using the applications resource [3]. The possible events are all documented in the data models [4]. Specifically, however, an AMI VarSet event corresponds to an ARI ChannelVarSet event [5]. [1] https://wiki.asterisk.org/wiki/display/AST/Getting+Started+with+ARI [2] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Stasi s [3] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Applications+REST +API [4] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+REST+Data+Models [5] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+REST+Data+Models# Asterisk13RESTDataModels-ChannelVarset -- 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 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
-- _____________________________________________________________________ -- 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
