[asterisk-users] Asterisk 12 Dialplan

Murthy Gandikota mgandikota at nts.net
Mon Oct 27 21:54:25 CDT 2014


 

 

________________________________

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/20141027/2e5f0e7a/attachment.html>


More information about the asterisk-users mailing list