Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and rename twilio/server.js to crepúsculo/server.js #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions twilio/server.js → crepúsculo/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ app.use(bodyParser.urlencoded({ extended: true }));
//See https://dialogflow.com/docs/reference/v2-auth-setup and
// https://cloud.google.com/dialogflow/docs/setup for details.

const projectId = 'Place your dialogflow projectId here';
const phoneNumber = "Place your twilio phone number here";
const accountSid = 'Place your accountSid here';
const authToken = 'Place your authToken here';
const projectId = twilioagent-tlbn;
const phoneNumber = +14155238886;
const accountSid = AC1d1852d0dc1f43668ab06b3b634124e5;
const authToken = ef6ddf3f1b694ad53303651c7932e16e;

const client = require('twilio')(accountSid, authToken);
const MessagingResponse = require('twilio').twiml.MessagingResponse;
Expand All @@ -59,4 +59,4 @@ process.on('SIGTERM', () => {
console.log('Closing http server.');
process.exit(0);
});
});
});