SPEAK to your Imp over the phone

Now you can speak to your Imp. It will call you. You speak your answer say a number. It is transcribed and sent back to the Imp in under 5 seconds. Free no cost. Simple code. Easy setup. Only took me 10 minutes.

https://www.twilio.com/docs/api/twiml/record

@sbright33 would love to do this too. Can you share your code or is this for a commercial project?

Thanks

`Agent:
function sendTwilio(){
local response =
http.post(“https://api.twilio.com/2010-04-01/Accounts/ACae249c17f97/Calls.json”,
{“Authorization”:“Basic QUNhZTI0OWM4OWYwZjA4NDg2OTBjOTRhN”},
“From=%2B18055551212&To=%2B18055551313&ApplicationSid=AP5714e4d49”).sendsync();
if(response.statuscode==201) server.log(“Calling soon”);
else {
server.log(response.statuscode);
server.log(response.body);
} }
device.on(“sendit”,function(s) {
sendTwilio();
} );

function mywebserver(request,res){
t<-http.urldecode(request.body);
device.send(“sendbody”,t.TranscriptionText); //speak.xml
res.send(200,“okay”);
}
http.onrequest(mywebserver);
server.log(“Start Agent”);

Device:
imp.configure(“Call1”, [], []);
agent.on(“sendbody”,function(value){
server.log(value);
});
agent.send(“sendit”,“notused”);

//All you need to setup is line 3,4,5
//Account ID, authorization Base64, From, To, App ID
//The App can run any Twiml script you like:

<?xml version="1.0" encoding="UTF-8"?> Please leave a message BEFORE the tone. `

Anyone got it working yet?

Waiting for the new imp reference design before I try, apologies didn’t thank you for sharing.

Which reference design?

The Telly Tubby one…Lala!

I’m interested in LALA. How will you make it?

Have you seen the reference designs for the other boards like April? You get BOM, Curcuit diagram and Gerber file.

I could make it on a breadboard. I have not used a Gerber file before.