________________________________

From: [email protected]
[mailto:[email protected]] 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 <[email protected]>
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. 

-- 
_____________________________________________________________________
-- 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

Reply via email to