Skip to content

Commit

Permalink
Merge pull request #233 from plivo/akamai_migration
Browse files Browse the repository at this point in the history
Route Voice traffic via AKAMAI
  • Loading branch information
huzaif-plivo authored Dec 14, 2021
2 parents 72447ef + 22daaf8 commit 7450f68
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [v4.26.0](https://github.com/plivo/plivo-node/tree/v4.26.0) (2021-12-14)
**Features - Voice**
- Routing SDK traffic through Akamai endpoints for all the [Voice APIs](https://www.plivo.com/docs/voice/api/overview/)

## [v4.25.1](https://github.com/plivo/plivo-node/tree/v4.25.1) (2021-12-08)
**Bug Fix**
- Handling `undefined response` error from axios.
Expand Down
2 changes: 1 addition & 1 deletion lib/rest/axios.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export function Axios(config) {
headers: headers,
json: true
};
let apiVoiceUris = ['https://voice.plivo.com/v1/Account/','https://voice-usw1.plivo.com/v1/Account/','https://voice-use1.plivo.com/v1/Account/'];
let apiVoiceUris = ['https://api.plivo.com/v1/Account/','https://api.plivo.com/v1/Account/','https://api.plivo.com/v1/Account/'];
let isVoiceReq = false;
if (params) {
if (params.hasOwnProperty('is_call_insights_request')) {
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function Request(config) {
headers: headers,
json: true
};
let apiVoiceUris = ['https://voice.plivo.com/v1/Account/','https://voice-usw1.plivo.com/v1/Account/','https://voice-use1.plivo.com/v1/Account/'];
let apiVoiceUris = ['https://api.plivo.com/v1/Account/','https://api.plivo.com/v1/Account/','https://api.plivo.com/v1/Account/'];
let isVoiceReq = false;
if (params) {
if (params.hasOwnProperty('is_call_insights_request')) {
Expand Down Expand Up @@ -220,4 +220,4 @@ export function Request(config) {
});
});
};
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plivo",
"version": "4.25.1",
"version": "4.26.0",
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",
"homepage": "https://github.com/plivo/plivo-node",
"files": [
Expand Down

0 comments on commit 7450f68

Please sign in to comment.