Skip to content

Commit

Permalink
Merge pull request #296 from plivo/VT-5438
Browse files Browse the repository at this point in the history
added_new_param_in_getCallDetails_api
  • Loading branch information
eniyavan-muruganantham-plivo authored Jun 1, 2023
2 parents ea0c80e + 1cf679f commit 3964bce
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [4.48.0](https://github.com/plivo/plivo-node/tree/v4.43.1) (2023-03-16)
**Feature : Adding new param in getCallDetails API**
- Added CNAM (Caller_id Name) details at CDR level.

## [v4.47.0](https://github.com/plivo/plivo-node/tree/v4.47.0) (2023-05-29)
- Added `monthly_recording_storage_amount`, `recording_storage_rate`, `rounded_recording_duration`, and `recording_storage_duration` parameters to the response for [get single recording API](https://www.plivo.com/docs/voice/api/recording#retrieve-a-recording) and [get all recordings API](https://www.plivo.com/docs/voice/api/recording#list-all-recordings)
- Added `recording_storage_duration` parameter as a filter option for [get all recordings API](https://www.plivo.com/docs/voice/api/recording#list-all-recordings)
Expand Down
6 changes: 4 additions & 2 deletions lib/resources/call.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ export class RetrieveCallResponse {
this.totalRate = params.totalRate;
this.stirVerification = params.stirVerification;
this.stirAttestation = params.stirAttestation;
this.sourceIp = params.sourceIp
this.sourceIp = params.sourceIp;
this.cnamLookup = params.cnamLookup;
}
}

Expand Down Expand Up @@ -132,7 +133,8 @@ export class ListAllCallsResponse {
this.totalRate = params.totalRate;
this.stirVerification = params.stirVerification;
this.stirAttestation = params.stirAttestation;
this.sourceIp = params.sourceIp
this.sourceIp = params.sourceIp;
this.cnamLookup = params.cnamLookup;
}
}

Expand Down
9 changes: 6 additions & 3 deletions lib/rest/request-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ export function Request(config) {
"total_rate": "0.00850",
"stir_verification": "Not Verified",
"voice_network_group": "USA All Networks",
"stir_attestation": ""
"stir_attestation": "",
"cnam_lookup": ""
},
{
"answer_time": "2015-07-26 16:45:02+05:30",
Expand All @@ -128,7 +129,8 @@ export function Request(config) {
"total_rate": "0.00850",
"stir_verification": "Verified",
"voice_network_group": "USA All Networks",
"stir_attestation": "A"
"stir_attestation": "A",
"cnam_lookup": ""
}
]
}
Expand Down Expand Up @@ -167,7 +169,8 @@ export function Request(config) {
"total_rate": "0.03570",
"stir_verification": "Not Applicable",
"voice_network_group": "India All Networks",
"stir_attestation": ""
"stir_attestation": "",
"cnam_lookup": ""
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plivo",
"version": "4.47.0",
"version": "4.48.0",
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",
"homepage": "https://github.com/plivo/plivo-node",
"files": [
Expand Down

0 comments on commit 3964bce

Please sign in to comment.