Skip to content

Commit

Permalink
Merge pull request #182 from plivo/VT-3755
Browse files Browse the repository at this point in the history
VT-3755 StirShaken phase 2 - SDK implementation
  • Loading branch information
rachana-plivo authored Jul 12, 2022
2 parents 5948b08 + aba758f commit 0687772
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 10 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

## [v5.14.0](https://github.com/plivo/plivo-go/tree/v5.14.0) (2022-07-12)
**Feature - STIR Attestation**
- Add stir attestation param as part of Get CDR and Get live call APIs Response

## [v5.13.4](https://github.com/plivo/plivo-dotnet/tree/v5.13.4) (2022-06-28)
**Fix - Print Exception for 400 case**
- Printing the Exception for 400 error case
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Plivo.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.3</TargetFrameworks>
<ReleaseVersion>5.13.4</ReleaseVersion>
<ReleaseVersion>5.14.0</ReleaseVersion>
<Version />
<Authors>Plivo SDKs Team</Authors>
<Owners>Plivo Inc.</Owners>
Expand Down
3 changes: 2 additions & 1 deletion src/Plivo/Plivo.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<summary>A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML</summary>
<description>A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML</description>
<id>Plivo</id>
<version>5.13.4</version>
<version>5.14.0</version>
<title>Plivo</title>
<authors>Plivo SDKs Team</authors>
<owners>Plivo, Inc.</owners>
<licenseUrl>https://github.com/plivo/plivo-dotnet/blob/master/LICENSE.txt</licenseUrl>
<projectUrl>http://github.com/plivo/plivo-dotnet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
* 5.14.0 Added stir attestation param as part of Get CDR and live call APIs
* 5.13.4 Printing the Exception for 400 error case.
* 5.11.0 tendlc brand, campaign, number linking api callback support.
* 5.10.0 Async SDK requests support for all the Voice APIs.
Expand Down
4 changes: 3 additions & 1 deletion src/Plivo/Resource/Call/Call.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class Call : Resource
public string TotalRate { get; set; }
public string StirVerification { get; set; }
public string VoiceNetworkGroup { get; set; }
public string StirAttestation { get; set; }



Expand Down Expand Up @@ -409,7 +410,8 @@ public override string ToString()
"TotalAmount: " + TotalAmount + "\n" +
"TotalRate: " + TotalRate + "\n" +
"StirVerification: " + StirVerification + "\n" +
"VoiceNetworkGroup: " + VoiceNetworkGroup + "\n";
"VoiceNetworkGroup: " + VoiceNetworkGroup + "\n" +
"StirAttestation: " + StirAttestation + "\n";
}
}
}
4 changes: 3 additions & 1 deletion src/Plivo/Resource/Call/LiveCall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class LiveCall : Resource
public string RequestUuid { get; set; }
public string SessionStart { get; set; }
public string StirVerification { get; set; }
public string StirAttestation { get; set; }

public override string ToString()
{
Expand All @@ -26,7 +27,8 @@ public override string ToString()
"CallUuid: " + CallUuid + "\n" +
"RequestUuid: " + RequestUuid + "\n" +
"SessionStart: " + SessionStart + "\n"+
"StirVerification: " + StirVerification + "\n";
"StirVerification: " + StirVerification + "\n"+
"StirAttestation: " + StirAttestation + "\n";
}
}
}
2 changes: 1 addition & 1 deletion src/Plivo/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class Version
/// <summary>
/// DotNet SDK version
/// </summary>
public const string SdkVersion = "5.13.4";
public const string SdkVersion = "5.14.0";
/// <summary>
/// Plivo API version
/// </summary>
Expand Down
3 changes: 2 additions & 1 deletion tests_netcore/Plivo.NetCore.Test/Mocks/callGetResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"to_number": "919999999999",
"total_amount": "0.00000",
"total_rate": "0.03570",
"stir_verification": "Verified"
"stir_verification": "Verified",
"stir_attestation": "A"
}
6 changes: 4 additions & 2 deletions tests_netcore/Plivo.NetCore.Test/Mocks/callListResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"to_number": "14153268174",
"total_amount": "0.13600",
"total_rate": "0.00850",
"stir_verification": "Not Verified"
"stir_verification": "Not Verified",
"stir_attestation": ""
},
{
"answer_time": "2015-07-26 16:45:02+05:30",
Expand All @@ -42,7 +43,8 @@
"to_number": "14153268174",
"total_amount": "0.13600",
"total_rate": "0.00850",
"stir_verification": "Not Applicable"
"stir_verification": "Not Applicable",
"stir_attestation":""
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"request_uuid": "d0a87a1a-b0e9-4ab2-ac07-c22ee87cd04a",
"session_start": "2017-05-22 13:17:49.050872",
"to": "919798990001",
"stir_verification": "Not Applicable"
"stir_verification": "Not Applicable",
"stir_attestation": ""
}
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.13.4",
"version": "5.14.0",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
Expand Down

0 comments on commit 0687772

Please sign in to comment.