Up till now, I have only used Asterisk versions 1.2, 10 and 11, on CentOS 4, 5 and 6, and have made extensive use of AMI and FastAGI connections to a multi-threaded backend written in C. For a new project, I am looking at trying Asterisk 16 with ARI, on CentOS 7. I was looking at the various ARI libraries available, particularly the ones for Python and Node.js in github. I noticed that the files in the Python ARI project at https://github.com/asterisk/ari-py are all over 5 years old and the version number is 0.1.3. Does that mean it is abandoned, or that it is so stable it has not needed any updates during that time? Is it a good choice to use? Does it support all the ARI features in Asterisk 16? In contrast, https://github.com/asterisk/node-ari-client, the Node.js client for ARI, saw its last commit only 7 months ago. Is this the preferred solution nowadays? Are there any other languages/libraries I should be considering? Thanks for any advice! Cheers Tony -- Tony Mountifield Work: tony at softins.co.uk - http://www.softins.co.uk Play: tony at mountifield.org - http://tony.mountifield.org
Hi Tony, Le 20/07/2019 à 06:29, Tony Mountifield a écrit :> Are there any other languages/libraries I should be considering?Same here, after years of AGI / AMI, I recently made my first project using ARI on Asterisk-16. I love Python, and was disappointed to find that Python ARI looks abandoned. Then I found aioari (https://github.com/M-o-a-T/aioari), an asyncio version of Python ARI, which looked newer, and supported modern Python. Apart from a bug with channel variables, aioari works for me. Hope that helps. Best regards, -- Jean-Denis Girard SysNux Systèmes Linux en Polynésie française https://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.797.527 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190720/900a4278/attachment.sig>
In article <301a2e78-d490-3805-e30f-41b668aac5c1 at sysnux.pf>, Jean-Denis Girard <jd.girard at sysnux.pf> wrote:> > Hi Tony, > > Le 20/07/2019 à 06:29, Tony Mountifield a écrit : > > Are there any other languages/libraries I should be considering? > > Same here, after years of AGI / AMI, I recently made my first project > using ARI on Asterisk-16. I love Python, and was disappointed to find > that Python ARI looks abandoned. Then I found aioari > (https://github.com/M-o-a-T/aioari), an asyncio version of Python ARI, > which looked newer, and supported modern Python. Apart from a bug with > channel variables, aioari works for me. Hope that helps.Ah, cool, thank you! I see that project started off as a fork from ari-py. What is the bug with channel variables? Do you have a fix for it? Cheers Tony -- Tony Mountifield Work: tony at softins.co.uk - http://www.softins.co.uk Play: tony at mountifield.org - http://tony.mountifield.org