Node Red to Asterisk ARI (FreePBX) - Play Mp3 and set dialplan
Budget: ₹600 – ₹1,500 INR
Hello
We have the latest FreePBX server set with asterisk in it and Node Red to control the asterisk dial plan.
Requirement is when we get an incoming call through a channel then Node Red identifies and takes over the call control. While Call forward and pre-recorded messages works fine however we are not able to get TTS based MP3 audio playback done via node red in asterisk.
As per asterisk MPG123 will work however as using by nodered thus the file as to be injected via a function instead of node.
Looking forward for solution to make following happen
1. Play mp3 file in asterisk(freePBX) via node red over an extension in incoming call. In a way node red will become dynamic IVR for bridge connections
2. Based on caller ID Node Red will HTTP request our CRM for CID name and announce the name via TTS (MP3 file) (HTTP Request is taken care of while Node Red needs to be set in format accepted by Asterisks)
3. Bridge call further to extension / IVR once playback is done.
Following Pallets are being used in node red
nodered-contrib-asterisk-ari
node-red-contrib-tts-ultimate
Reference
https://community.freepbx.org/t/open-source-pro-tips-10-connecting-to-controlling-freepbx-with-node-red-part-2/74117/2
We have the latest FreePBX server set with asterisk in it and Node Red to control the asterisk dial plan.
Requirement is when we get an incoming call through a channel then Node Red identifies and takes over the call control. While Call forward and pre-recorded messages works fine however we are not able to get TTS based MP3 audio playback done via node red in asterisk.
As per asterisk MPG123 will work however as using by nodered thus the file as to be injected via a function instead of node.
Looking forward for solution to make following happen
1. Play mp3 file in asterisk(freePBX) via node red over an extension in incoming call. In a way node red will become dynamic IVR for bridge connections
2. Based on caller ID Node Red will HTTP request our CRM for CID name and announce the name via TTS (MP3 file) (HTTP Request is taken care of while Node Red needs to be set in format accepted by Asterisks)
3. Bridge call further to extension / IVR once playback is done.
Following Pallets are being used in node red
nodered-contrib-asterisk-ari
node-red-contrib-tts-ultimate
Reference
https://community.freepbx.org/t/open-source-pro-tips-10-connecting-to-controlling-freepbx-with-node-red-part-2/74117/2