Overview
This project is a proof-of-concept using Asterisk PBX, running on a Raspberry Pi Zero or better, interfaced to Amazon Alexa™ Voice Service API. Using a SIP Phone or SoftPhone, the user dials into their Raspberry Asterisk PBX extension and follows the prompts to speak questions which are sent to Amazon Alexa Voice Service. Responses are spoken back over the phone. No Amazon Echo™ required.
It uses a Perl AGI script and SOX to convert the audio formats and send & receive the AVS JSON API messages over the Internet. Amazon does not currently charge for this service, but you do have to create an AWS Developer account.
As this is only a proof-of-concept, it does not comply with Amazon’s public access terms & conditions. But it does meet their developer requirements for private, non-commercial use.
The primary limitation is that you cannot connect an external telephone number to this for use as an inbound service without modification to meet their requirements. (i.e. trigger the recording using a push button (touchtone?). Also, it has not been optimized to reduce overhead and improve response time. But for a single user demo, the Raspi Zero and AVS work quite well.
Requirements- Raspberry Pi Zero, B+, 2 or 3
- Raspian Jessie installed and up to date
- Raspi ethernet or Wifi connected (direct Ethernet is best)
- SSH access to the Raspberry
- A SIP Phone (Such as Grandstream GXP1620) or SoftPhone such as:
http://www.asteriskguru.com/tutorials/xlite_softphone.html
http://www.zoiper.com/en/voip-softphone/download/zoiper-classic
Full instructions and source code on Github
Hi,
I am making Asterisk PBX over Orange Pi - 2g IoT, using standard Ubuntu Server 16.4 available on Orange-Pi website (http://www.orangepi.org/downloadresources/orangepi2G-IoT/orangepi2G-IoT_b0408713aa11652927416.html). Everything is working fine, but I am stuck on two issues,
a. How to add built-in GSM module of Orange Pi 2g IoT board in asterisk, so that A GSM trunk call/text can be transferred on SIP extension. I know chan-dongle, but asterisk is not detecting GSM module. I ahve tried different versions of asterisk.
b. How to change IMEI of Orange Pi 2g IoT
Looking for solutions
Regards