diff --git a/CHANGELOG.md b/CHANGELOG.md index ce72a41a..363ce069 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [5.46.5](https://github.com/plivo/plivo-java/tree/v5.46.5) (2026-01-20) +**Feature - HA Number support** +- Added `haEnable` optional parameter to `PhoneNumberCreator` for enabling HA functionality during phone number rent +- Added `fallbackNumber` optional field to `PhoneNumberCreationStatus` response + ## [5.46.4](https://github.com/plivo/plivo-java/tree/v5.46.4) (2026-01-13) **Feature - Profile API business_contact_email support** - Added `businessContactEmail` parameter support to Profile `create` and `update` methods for PUBLIC entity types diff --git a/pom.xml b/pom.xml index af0d0305..9dd751b7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.plivo plivo-java - 5.46.3 + 5.46.5 plivo-java A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML diff --git a/src/main/java/com/plivo/api/models/number/PhoneNumberCreationStatus.java b/src/main/java/com/plivo/api/models/number/PhoneNumberCreationStatus.java index 492816bc..e5ed2542 100644 --- a/src/main/java/com/plivo/api/models/number/PhoneNumberCreationStatus.java +++ b/src/main/java/com/plivo/api/models/number/PhoneNumberCreationStatus.java @@ -4,6 +4,7 @@ public class PhoneNumberCreationStatus { private String number; private String status; + private String fallbackNumber; public String getNumber() { return number; @@ -12,4 +13,8 @@ public String getNumber() { public String getStatus() { return status; } + + public String getFallbackNumber() { + return fallbackNumber; + } } diff --git a/src/main/java/com/plivo/api/models/number/PhoneNumberCreator.java b/src/main/java/com/plivo/api/models/number/PhoneNumberCreator.java index dbfc3a6e..36f548ec 100644 --- a/src/main/java/com/plivo/api/models/number/PhoneNumberCreator.java +++ b/src/main/java/com/plivo/api/models/number/PhoneNumberCreator.java @@ -8,6 +8,7 @@ public class PhoneNumberCreator extends Creator { private String number; private String appId; private String cnamLookup; + private Boolean haEnable; public PhoneNumberCreator(String number) { if (number == null) { @@ -35,6 +36,15 @@ public PhoneNumberCreator cnamLookup(final String cnamLookup) { return this; } + public Boolean haEnable() { + return this.haEnable; + } + + public PhoneNumberCreator haEnable(final Boolean haEnable) { + this.haEnable = haEnable; + return this; + } + @Override protected Call obtainCall() { return client().getApiService().phoneNumberCreate(client().getAuthId(), number, this);