I am creating a call center app, in which I am using taskrouter conference instruction to connect agent and customer. Below is my conference instruction in assignment callback.
assignment_instruction = {
instruction: 'conference',
from: attributes["from"],
Record: true,
RecordingStatusCallback: "/handle-record?taskId="+attributes["sf_taskId"],
post_work_activity_sid: "WA30809afd42e2972a13b5e90f138ece41"
}
I have tried various ways like record='record-from-start' or record='true' but its still not working. Can someone let me know what I am missing.