Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verify dtmf param support #351

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading