Comparing version 0.13.4 to 0.13.5
@@ -115,3 +115,3 @@ "use strict"; | ||
if (this.owner.dialog) { | ||
var request = this.owner.dialog.sendRequest(this.owner, Constants_1.C.INFO, { | ||
var request = this.owner.dialog.sendRequest(this, Constants_1.C.INFO, { | ||
extraHeaders: extraHeaders, | ||
@@ -118,0 +118,0 @@ body: body |
@@ -5,3 +5,3 @@ { | ||
"description": "A simple, intuitive, and powerful JavaScript signaling library", | ||
"version": "0.13.4", | ||
"version": "0.13.5", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "main": "lib/index.js", |
import { SessionDescriptionHandler } from "./session-description-handler"; | ||
import { InviteClientContext, InviteServerContext } from "./session"; | ||
import { DTMF } from "./Session/dtmf"; | ||
import { Subscription } from "./subscription"; | ||
@@ -40,3 +41,3 @@ import { URI } from "./uri"; | ||
sendRequest( | ||
applicant: InviteClientContext | Subscription, | ||
applicant: InviteClientContext | Subscription | DTMF, | ||
method: string, | ||
@@ -43,0 +44,0 @@ options?: any |
import { EventEmitter } from "events"; | ||
import { Session } from "../session"; | ||
import { IncomingRequest } from "../sip-message"; | ||
import { IncomingRequest, IncomingResponse } from "../sip-message"; | ||
@@ -14,3 +14,7 @@ export declare class DTMF extends EventEmitter { | ||
send(options?: any): void; | ||
init_incoming(request: IncomingRequest): void | ||
init_incoming(request: IncomingRequest): void; | ||
receiveResponse(response: IncomingResponse): void; | ||
onRequestTimeout(): void; | ||
onTransportError(): void; | ||
onDialogError(response: IncomingResponse): void; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3732617
77516