Skip to content

Commit ce2da67

Browse files
Merge pull request #359 from plivo/VT-9005
VT-9005: Support new param in Dial XML
2 parents c067c99 + 58e2405 commit ce2da67

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

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

3+
## [v4.74.0](https://github.com/plivo/plivo-node/tree/v4.74.0) (2025-06-20)
4+
**Feature - New Param added for Dial XML.**
5+
- Added support for two new elements - `callerId` and `callerName` - in Number and User element in Dial XML
36

47
## [v4.73.0](https://github.com/plivo/plivo-node/tree/v4.73.0) (2025-06-20)
58
**Feature - New Param added for MPC - Update participant state API.**

lib/utils/plivoxml.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ util.inherits(Conference, Response);
754754
*/
755755
function Number(Response) {
756756
this.element = 'Number';
757-
this.valid_attributes = ['sendDigits', 'sendOnPreanswer', 'sendDigitsMode'];
757+
this.valid_attributes = ['sendDigits', 'sendOnPreanswer', 'sendDigitsMode', 'callerId', 'callerName'];
758758
this.nestables = [];
759759
}
760760
util.inherits(Number, Response);
@@ -766,7 +766,7 @@ util.inherits(Number, Response);
766766
function User(Response) {
767767
this.element = 'User';
768768
this.nestables = [];
769-
this.valid_attributes = ['sendDigits', 'sendOnPreanswer', 'sipHeaders'];
769+
this.valid_attributes = ['sendDigits', 'sendOnPreanswer', 'sipHeaders', 'callerId', 'callerName'];
770770
}
771771
util.inherits(User, Response);
772772

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plivo",
3-
"version": "4.73.0",
3+
"version": "4.74.0",
44
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",
55
"homepage": "https://github.com/plivo/plivo-node",
66
"files": [

0 commit comments

Comments
 (0)