Hi all, currently we're looking to program a new asterisk application. Years ago we used AMI and Asterisk Java. When we did this we pretty soon encountered performance issues when using a lot of channels. We want to place calls, bridge channels, disconnect channels, monitor them, hangup. What's the status with Asterisk REST API? Any experiences on performance,stability,documentation, caveats? Any toolkits for a fast start, Frameworks in any language? Hints? Best practices? Thanks for any insights! Markus
As you've probably discovered, most of the API toolkits are half baked and poorly maintained. The Java interface is not great for performance and is suffering from the above too.>From our experience (including customer specific and commercial apps) using the AMI directly is the best way to go. Next you also have to develop in a language suitable to the throughput needs of whatever you are building. If you need performance, I'd recommend developing in C++ and building your own AMI interface to suit your needs. (If you use boost or Qt then it will speed your development time).This topic might step on troll territory (which ____ is best) so feel free to email me off list if you want more info.
Markus Weiler wrote:> Hi all,Kia ora,> currently we're looking to program a new asterisk application. Years ago > we used AMI and Asterisk Java. > When we did this we pretty soon encountered performance issues when > using a lot of channels. > We want to place calls, bridge channels, disconnect channels, monitor > them, hangup. > What's the status with Asterisk REST API? > Any experiences on performance,stability,documentation, caveats? Any > toolkits for a fast start, Frameworks in any language? Hints? Best > practices?While bugs have crept up they haven't really been in the performance or stability area. It's mostly been features and making it a better experience for the users of ARI. Documentation wise the wiki[1] has a lot of great information including some example usage and a list of libraries. There's also a new asterisk-app-dev mailing list which is focused on applications built upon Asterisk. Cheers, [1] https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=29395573 -- 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