@voicenter-team/opensips-js 1.0.139 → 1.0.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23863,7 +23863,10 @@ class oE {
23863
23863
  }
23864
23864
  terminateCall(t) {
23865
23865
  const n = this.extendedCalls[t];
23866
- n._status !== 8 && n.terminate();
23866
+ n._status === 4 ? n.terminate({
23867
+ status_code: 603,
23868
+ reason_phrase: "Decline"
23869
+ }) : n._status !== 8 && n.terminate();
23867
23870
  }
23868
23871
  transferCall(t, n) {
23869
23872
  if (n.toString().length === 0)