[asterisk-app-dev] Asterisk AMI Websocket over ARI?

Lukas Hauser lukas.hauser at rsu-reifen.de
Wed Feb 11 08:33:32 CST 2015


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 at digium.com> 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 at 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
Fon: +49 (0) 7122-82593-62, Fax: +49 (0) 7122-82593-50
______________________________________________
AG Stuttgart, HRB 723319, Ust-IdNr.: DE 254910568
Geschäftsführer: Simon Reichenecker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20150211/07eef2f0/attachment.html>


More information about the asterisk-app-dev mailing list