Reputation: 103
This is the exact step noted from this readme section.twilio queue callback flex plugin
There it is instructed to update accountSid variable. But there is no accountSid variable in appConfig.js (code 1). Assuming, I should add the extra variable I did as showed in code 1 (comment ) below.But, the react app didn't work properly,it didn't show any call baack option or voicemail in the task (image added)
Step 3: Open appConfig.js with your text editor and update the accountSid variable with your account SID: var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
//code 1
//assuming here I have to add this line "var accountSid =
//'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'"
var appConfig = {pluginService: {
enabled: true,
url: '/plugins',} ,ytica: false, logLevel: 'info', showSupervisorDesktopView: true,};
Upvotes: 0
Views: 394
Reputation: 73057
Twilio developer evangelist here.
You are right that you need to add the accountSid
to the appConfig.js
file. It should look like this:
var accountSid = 'ACXXXXX';
var appConfig = {
pluginService: {
enabled: true,
url: '/plugins',
},
ytica: false,
logLevel: 'info',
showSupervisorDesktopView: true,
};
I wonder if you don't see a proper voicemail recording or way to callback because the number they called from, +266696687
, is invalid. More than invalid, it is in fact an anonymous number. The numbers 266696687 type out "ANONYMOUS" on a phone keyboard.
Upvotes: 1