Skip to content

Commit ee3e05c

Browse files
Merge pull request #308 from plivo/ha-number
ha number feature
2 parents caf7a79 + 44d260a commit ee3e05c

4 files changed

Lines changed: 21 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## [5.46.5](https://github.com/plivo/plivo-java/tree/v5.46.5) (2026-01-20)
4+
**Feature - HA Number support**
5+
- Added `haEnable` optional parameter to `PhoneNumberCreator` for enabling HA functionality during phone number rent
6+
- Added `fallbackNumber` optional field to `PhoneNumberCreationStatus` response
7+
38
## [5.46.4](https://github.com/plivo/plivo-java/tree/v5.46.4) (2026-01-13)
49
**Feature - Profile API business_contact_email support**
510
- Added `businessContactEmail` parameter support to Profile `create` and `update` methods for PUBLIC entity types

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.plivo</groupId>
66
<artifactId>plivo-java</artifactId>
7-
<version>5.46.3</version>
7+
<version>5.46.5</version>
88
<name>plivo-java</name>
99
<description>A Java SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML</description>
1010
<licenses>

src/main/java/com/plivo/api/models/number/PhoneNumberCreationStatus.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ public class PhoneNumberCreationStatus {
44

55
private String number;
66
private String status;
7+
private String fallbackNumber;
78

89
public String getNumber() {
910
return number;
@@ -12,4 +13,8 @@ public String getNumber() {
1213
public String getStatus() {
1314
return status;
1415
}
16+
17+
public String getFallbackNumber() {
18+
return fallbackNumber;
19+
}
1520
}

src/main/java/com/plivo/api/models/number/PhoneNumberCreator.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public class PhoneNumberCreator extends Creator<PhoneNumberCreateResponse> {
88
private String number;
99
private String appId;
1010
private String cnamLookup;
11+
private Boolean haEnable;
1112

1213
public PhoneNumberCreator(String number) {
1314
if (number == null) {
@@ -35,6 +36,15 @@ public PhoneNumberCreator cnamLookup(final String cnamLookup) {
3536
return this;
3637
}
3738

39+
public Boolean haEnable() {
40+
return this.haEnable;
41+
}
42+
43+
public PhoneNumberCreator haEnable(final Boolean haEnable) {
44+
this.haEnable = haEnable;
45+
return this;
46+
}
47+
3848
@Override
3949
protected Call<PhoneNumberCreateResponse> obtainCall() {
4050
return client().getApiService().phoneNumberCreate(client().getAuthId(), number, this);

0 commit comments

Comments
 (0)