Skip to content

Commit

Permalink
Merge pull request #351 from plivo/verify-dtmf
Browse files Browse the repository at this point in the history
verify dtmf param support
  • Loading branch information
narayana-plivo authored Oct 10, 2024
2 parents 7ac7020 + 1e92aae commit d0eb2fd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Change Log
## [4.66.1](https://github.com/plivo/plivo-php/tree/v4.66.1)(2024-10-10)
**Feature - Dtmf param in Create, Get and List Session**
- Support for the `dtmf` parameter in voice verify session request
- Added support for `dtmf` in GET and LIST verify session.
-
## [4.66.0](https://github.com/plivo/plivo-php/tree/v4.66.0)(2024-09-30)
**Feature - Adding new param support for Number Masking session with single party **
- Added `create_session_with_single_party`, `virtual_number_cooloff_period` and `force_pin_authentication` attributes in Masking Session
Expand Down
3 changes: 2 additions & 1 deletion src/Plivo/Resources/Verify/VerifySession.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* @property ?string $charges
* @property string $created_at
* @property string $updated_at
* @property ?int $dtmf
*/
class VerifySession extends Resource
{
Expand Down Expand Up @@ -86,4 +87,4 @@ public function __construct(
public function __debugInfo() {
return $this->properties;
}
}
}
2 changes: 1 addition & 1 deletion src/Plivo/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Version
* @const int PHP helper library patch number
*/

const PATCH = 0;
const PATCH = 1;

/**
* @return string
Expand Down
7 changes: 4 additions & 3 deletions tests/Mocks/verifySessionListResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"app_uuid": "854f110a-6244-4481-9d28-dddf58c7014b",
"alias": "default_app",
"recipient": "918097480999",
"channel": "sms",
"channel": "voice",
"status": "verified",
"locale":"en",
"count": 1,
Expand All @@ -21,10 +21,11 @@
"destination_network": "AirTel",
"attempt_details": [
{
"channel": "sms",
"channel": "voice",
"attempt_uuid": "3ada0edc-849a-49f4-aae6-2de209955829",
"status": "delivered",
"time": "2023-07-28T17:20:39.278163+05:30"
"time": "2023-07-28T17:20:39.278163+05:30",
"dtmf": 4
}
],
"charges": {
Expand Down

0 comments on commit d0eb2fd

Please sign in to comment.