diff --git a/lib/call-session.js b/lib/call-session.js index 954df90..1625596 100644 --- a/lib/call-session.js +++ b/lib/call-session.js @@ -864,7 +864,8 @@ Duration=${payload.duration} ` blockMedia: this.blockMedia, unblockMedia: this.unblockMedia, unsubscribe: this.unsubscribe, - headers + headers, + isSipRecCall: Array.isArray(this.req.payload) && this.req.payload.length > 1 })); try { this._startRecordingNoAnswerTimer(res); diff --git a/package-lock.json b/package-lock.json index 8ee5cbf..e59b085 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@jambonz/http-health-check": "^0.0.1", "@jambonz/realtimedb-helpers": "^0.8.8", "@jambonz/rtpengine-utils": "^0.4.4", - "@jambonz/siprec-client-utils": "^0.2.9", + "@jambonz/siprec-client-utils": "^0.2.10", "@jambonz/stats-collector": "^0.1.10", "@jambonz/time-series": "^0.2.10", "bent": "^7.3.12", @@ -1463,9 +1463,9 @@ } }, "node_modules/@jambonz/siprec-client-utils": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@jambonz/siprec-client-utils/-/siprec-client-utils-0.2.9.tgz", - "integrity": "sha512-C/1UOrAvQVG0iwiSMS0MC9VHRjhg3/sOjNna+eEjHjws1SHl8NrKBoDL8uOwLqOM2ccpbqCPH9GJAxo5OnOhww==", + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@jambonz/siprec-client-utils/-/siprec-client-utils-0.2.10.tgz", + "integrity": "sha512-Ns7rWK6cXVCr/1IoqPuVg9UKVRZNcs5EMvnhuoPhRD6L0HzLnfB0/BAq29bkHj0sr0bu0dp3hD5B+BnOcJuhaQ==", "license": "MIT", "dependencies": { "sdp-transform": "^2.14.1", @@ -7957,9 +7957,9 @@ } }, "@jambonz/siprec-client-utils": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@jambonz/siprec-client-utils/-/siprec-client-utils-0.2.9.tgz", - "integrity": "sha512-C/1UOrAvQVG0iwiSMS0MC9VHRjhg3/sOjNna+eEjHjws1SHl8NrKBoDL8uOwLqOM2ccpbqCPH9GJAxo5OnOhww==", + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@jambonz/siprec-client-utils/-/siprec-client-utils-0.2.10.tgz", + "integrity": "sha512-Ns7rWK6cXVCr/1IoqPuVg9UKVRZNcs5EMvnhuoPhRD6L0HzLnfB0/BAq29bkHj0sr0bu0dp3hD5B+BnOcJuhaQ==", "requires": { "sdp-transform": "^2.14.1", "uuid": "^8.3.2" diff --git a/package.json b/package.json index 8d50317..0930efc 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@jambonz/http-health-check": "^0.0.1", "@jambonz/realtimedb-helpers": "^0.8.8", "@jambonz/rtpengine-utils": "^0.4.4", - "@jambonz/siprec-client-utils": "^0.2.9", + "@jambonz/siprec-client-utils": "^0.2.10", "@jambonz/stats-collector": "^0.1.10", "@jambonz/time-series": "^0.2.10", "@jambonz/digest-utils": "^0.0.5",