I got this running on RasPBX. I skipped the sections until I got to "Alexa/Asterisk Install and Configuration" since I already had a running setup on RasPBX. I ran install.sh from /usr/src/RaspiAsteriskAlexa. I probably should have just done it by hand or edited the install script for paths.
1) In the instructions I replaced "/usr/share" with "/var/lib" which is where the asterisk sound directory and the agi-bin directory reside. This includes a path within .../asterisk/agi-bin/alexa.agi
2) There is no .../sounds/custom directory, so I had to create that with appropriate permissions. Maybe these should just go in the .../sounds directory?
3) For setting up the "AMAZON ALEXA VOICE" extension, the file for the custom extension is different. In FreePBX, the custom extensions live in "/etc/asterisk/extensions_custom.conf". I added the [alexa_tts] to this file and:
[ext-local-custom]include=> alexa_tts
below the [alexa_tts] section. If anyone knows a better section than [ext-local-custom] to include this under, please let me know.
RasPBX doesn't seem to have a pi user, but that doesn't seem to be needed. I did create one anyway and copied the RaspiAsteriskAlexa directory there just in case.
Updates welcome!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Starting at https://github.com/rgrokett/RaspiAsteriskAlexa, read through the PDF.
I got this running on RasPBX. I skipped the sections until I got to "Alexa/Asterisk Install and Configuration" since I already had a running setup on RasPBX. I ran install.sh from /usr/src/RaspiAsteriskAlexa. I probably should have just done it by hand or edited the install script for paths.
1) In the instructions I replaced "/usr/share" with "/var/lib" which is where the asterisk sound directory and the agi-bin directory reside. This includes a path within .../asterisk/agi-bin/alexa.agi
2) There is no .../sounds/custom directory, so I had to create that with appropriate permissions. Maybe these should just go in the .../sounds directory?
3) For setting up the "AMAZON ALEXA VOICE" extension, the file for the custom extension is different. In FreePBX, the custom extensions live in "/etc/asterisk/extensions_custom.conf". I added the [alexa_tts] to this file and:
below the [alexa_tts] section. If anyone knows a better section than [ext-local-custom] to include this under, please let me know.
RasPBX doesn't seem to have a pi user, but that doesn't seem to be needed. I did create one anyway and copied the RaspiAsteriskAlexa directory there just in case.
Updates welcome!