I’m using asterisk/node-ari-client as the library for connecting with Asterisk’s ARI. It is working fine until the Asterisk restart itself (with several reasons such as RTP ports are not enough). In this case, I need to manually restart my Node.JS application so that the new call will be answered again.
Is there any binding point in Asterisk to blind a startup shell script so that I can run the restart command to restart my Node.JS application while Asterisk is restarting.
Thanks for any advice