diff --git a/package.json b/package.json index 84f903b..fe50bc7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-softphone-sdk", - "version": "2.0.0", + "version": "2.0.1", "description": "react-native-softphone-sdk", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", diff --git a/src/core/Session.ts b/src/core/Session.ts index b146b38..7b9fa17 100644 --- a/src/core/Session.ts +++ b/src/core/Session.ts @@ -72,7 +72,7 @@ export class Session { if (this.#sipSession instanceof Inviter) { await this.#sipSession.cancel(); } else if (this.#sipSession instanceof Invitation) { - await this.#sipSession.reject(); + await this.#sipSession.reject({statusCode: 603}); } break; case SessionState.Established: