Twilio Recording And Voicemail Function
Hello guys im treyng to implement a new call foward ivr system for my twilio number but i been having a problem with one of my function and i hope you guys cam help in some way. So
Solution 1:
You can fix this by adding parameters in the recordingStatusCallback url.
let actionUrl = `https://${DOMAIN_NAME}/${URL_PATH}?callTo=${callTo}&callFrom=${callFrom}`;
const dial = twiml.dial({
timeout: 20,
method: 'GET',
action: 'voicemail',
record: 'record-from-answer',
recordingStatusCallback: actionUrl,
callerId: context.TWILIO_PHONE_NUMBER,
});
Post a Comment for "Twilio Recording And Voicemail Function"