further fixes for customerData

This commit is contained in:
Dave Horton
2021-08-11 11:01:11 -04:00
parent 7c629e6faf
commit 3fed15b3b9
3 changed files with 6 additions and 6 deletions

View File

@@ -242,7 +242,7 @@ class TaskDial extends Task {
this.logger.info(`Dial:_onDtmf got digits on B leg after adulting: ${evt.dtmf}`);
}
else {
requestor.request(this.dtmfHook, {dtmf: match, ...cs.callInfo})
requestor.request(this.dtmfHook, {dtmf: match, ...cs.callInfo.toJSON()})
.catch((err) => this.logger.info(err, 'Dial:_onDtmf - error'));
}
}