Files
jambonz-feature-server/lib/session/confirm-call-session.js
2020-01-25 11:47:33 -05:00

27 lines
561 B
JavaScript

const CallSession = require('./call-session');
const {CallDirection} = require('../utils/constants');
class ConfirmCallSession extends CallSession {
constructor({logger, application, dlg, ep, tasks}) {
super({
logger,
application,
srf: dlg.srf,
callSid: dlg.callSid,
tasks
});
this.dlg = dlg;
this.ep = ep;
this.direction = CallDirection.Outbound;
}
/**
* empty implementation to override superclass so we do not delete dlg and ep
*/
_clearCalls() {
}
}
module.exports = ConfirmCallSession;