Skip to content

Commit

Permalink
Merge pull request #340 from plivo/VT-7492
Browse files Browse the repository at this point in the history
PinBasedAuthentication
  • Loading branch information
manjunath-plivo authored May 2, 2024
2 parents 05e9441 + 17e5d55 commit bfeba2f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
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.62.0](https://github.com/plivo/plivo-php/tree/v4.62.0) (2024-05-02)
**Feature - Pin Based Authentication, SubAccount and GeoMatch for Number Masking**
- Pin Based Authentication, SubAccount and GeoMatch added in Create Session API for Number Masking

## [4.61.0](https://github.com/plivo/plivo-php/tree/v4.61.0) (2024-04-18)
**Feature - Support for dynamic button components when sending a templated WhatsApp message**
- Added new param `payload` in templates to support dynamic payload in templates
Expand Down
12 changes: 12 additions & 0 deletions src/Plivo/Resources/MaskingSession/MaskingSessionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@ function __construct(BaseClient $plivoClient, $authId)
* + [string] firstPartyPlayUrl - The URL to play audio to the first party when the call is established.
* + [string] secondPartyPlayUrl - The URL to play audio to the second party when the call is established.
* + [string] recordingCallbackMethod - The HTTP method for the recording callback request.
* + [boolean] IsPinAuthenticationRequired - Indicates we need to authenticate pin or not.
* + [boolean] GeneratePin - Indicates we need to generate pin or not.
* + [number] GeneratePinLength - Pin length, by default = 4.
* + [string] FirstPartyPin - First Party Pin.
* + [string] SecondPartyPin - Second Party Pin.
* + [string] PinPromptPlay - Sound url to play during pin prompt.
* + [number] PinRetry - No of times retry allowed for wrong/invalid pin.
* + [number] PinRetryWait - Wait between consecutive retry.
* + [string] IncorrectPinPlay - Sound url to play when wrong/invalid pin entered.
* + [string] UnknownCallerPlay - Sound url to play for unknown caller.
* + [string] SubAccount - SubAccount to create session.
* + [bool] GeoMatch - GeoMatch to filter no.
* @return JSON output
* @throws PlivoValidationException,PlivoResponseException
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Version
/**
* @const int PHP helper library minor version number
*/
const MINOR = 61;
const MINOR = 62;

/**
* @const int PHP helper library patch number
Expand Down

0 comments on commit bfeba2f

Please sign in to comment.