Commit 55ef423c authored by Skye Yu's avatar Skye Yu

feat: send schedule info

parent 550771b5
...@@ -910,6 +910,7 @@ Jensen.prototype.sendScheduleInfo = function (info) { ...@@ -910,6 +910,7 @@ Jensen.prototype.sendScheduleInfo = function (info) {
const keyReject = [3, 7, 6, 0, 0, 0, 0, 0]; const keyReject = [3, 7, 6, 0, 0, 0, 0, 0];
const keyMicMute = [3, 7, 7, 0, 0, 0, 0, 0]; const keyMicMute = [3, 7, 7, 0, 0, 0, 0, 0];
const body = [...startDate, ...endDate, 0, 0, ...keyAnswer, ...keyHangup, ...keyReject, ...keyMicMute]; const body = [...startDate, ...endDate, 0, 0, ...keyAnswer, ...keyHangup, ...keyReject, ...keyMicMute];
console.log('send schedule info', info, body);
return this.send(new Command(SCHEDULE_INFO).body(body)); return this.send(new Command(SCHEDULE_INFO).body(body));
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment