mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
27 lines
561 B
JavaScript
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;
|