Skip to content

Commit

Permalink
added_new_param_in_get_cdr_api (#171)
Browse files Browse the repository at this point in the history
* added_new_param_in_get_cdr_api

* name_change

* VT-5438
  • Loading branch information
ajay-plivo authored Jun 1, 2023
1 parent f65de7f commit 7e61316
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 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

## [7.30.0](https://github.com/plivo/plivo-go/tree/v7.24.1) (2023-03-16)
**Feature - Added a new param in getCallDetails api**
- From now on we can see CNAM (caller_id name) details at CDR level.

## [7.29.0](https://github.com/plivo/plivo-java/tree/v7.29.0) (2023-05-29)
**Feature - Recording API changes**
- 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)
Expand Down
2 changes: 1 addition & 1 deletion baseclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/google/go-querystring/query"
)

const sdkVersion = "7.29.0"
const sdkVersion = "7.30.0"

const lookupBaseUrl = "lookup.plivo.com"

Expand Down
1 change: 1 addition & 0 deletions calls.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type Call struct {
VoiceNetworkGroup string `json:"voice_network_group,omitempty" url:"voice_network_group,omitempty"`
StirAttestation string `json:"stir_attestation,omitempty" url:"stir_attestation,omitempty"`
SourceIp string `json:"source_ip,omitempty" url:"source_ip,omitempty"`
CnamLookup string `json:"cnam_lookup,omitempty" url:"cnam_lookup,omitempty"`
}

type LiveCall struct {
Expand Down
3 changes: 2 additions & 1 deletion fixtures/callGetResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"stir_verification": "Not Applicable",
"voice_network_group": "India All Networks",
"stir_attestation": "",
"source_ip": ""
"source_ip": "",
"cnam_lookup": ""
}
6 changes: 4 additions & 2 deletions fixtures/callListResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"stir_verification": "Not Verified",
"voice_network_group": "USA All Networks",
"stir_attestation": "",
"source_ip": ""
"source_ip": "",
"cnam_lookup": ""
},
{
"answer_time": "2015-07-26 16:45:02+05:30",
Expand All @@ -48,7 +49,8 @@
"stir_verification": "Verified",
"voice_network_group": "USA All Networks",
"stir_attestation": "A",
"source_ip": ""
"source_ip": "",
"cnam_lookup": ""
}
]
}

0 comments on commit 7e61316

Please sign in to comment.