mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
add sms messaging support
This commit is contained in:
22
lib/session/sms-call-session.js
Normal file
22
lib/session/sms-call-session.js
Normal file
@@ -0,0 +1,22 @@
|
||||
const CallSession = require('./call-session');
|
||||
|
||||
/**
|
||||
* @classdesc Subclass of CallSession. Represents a CallSession
|
||||
* that is established for the purpose of sending an outbound SMS
|
||||
* @extends CallSession
|
||||
|
||||
*/
|
||||
class SmsCallSession extends CallSession {
|
||||
constructor({logger, application, srf, tasks, callInfo}) {
|
||||
super({
|
||||
logger,
|
||||
application,
|
||||
srf,
|
||||
tasks,
|
||||
callInfo
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = SmsCallSession;
|
||||
Reference in New Issue
Block a user