Re: Asterisk AMI Websocket over ARI?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think it would be the best for me to stick to the AMI and use a middleware which provides websocket support.

Thanks for your responses!

On Wed, Feb 11, 2015 at 3:26 PM, Joshua Colp <jcolp@xxxxxxxxxx> wrote:
Matthew Jordan wrote:

<snip>


    Can I use the ARI websocket, even if I want to keep my dialplan?


Sure. While ARI uses a subscription model for events, you can get more
events for things going on in Asterisk than just what occurs in your
Stasis application. You do that by subscribing to Asterisk event sources
through the /applications resource [1].

Generally, subscribing to an endpoint or an endpoint technology will
show you the most, as that will subscribe you implicitly to all channels
created for that endpoint/technology.

I'll add to this saying that while this will give you events they may not be the same as AMI and it's not a view of the entire system like AMI can give you. They are just related to the channel. So it may or may not give you what you want depending on what you are trying to do.


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@lists.digium.com
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev



--
Herzliche Grüße aus dem Schwabenland
Lukas Hauser

-- 
RSU Reifen-Center GmbH
Ohnastetter Straße 36, 72813 St. Johann
______________________________________________
AG Stuttgart, HRB 723319, Ust-IdNr.: DE 254910568
Geschäftsführer: Simon Reichenecker
_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux