sip.js
Version:
A SIP library for JavaScript
21 lines (20 loc) • 439 B
JavaScript
import { Info } from "./info.js";
/**
* A DTMF signal (incoming INFO).
* @deprecated Use `Info`.
* @internal
*/
export class DTMF extends Info {
/** @internal */
constructor(incomingInfoRequest, tone, duration) {
super(incomingInfoRequest);
this._tone = tone;
this._duration = duration;
}
get tone() {
return this._tone;
}
get duration() {
return this._duration;
}
}