Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/main' into bwdb-14964-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
evanhalley committed Oct 3, 2023
2 parents 067744b + 3798698 commit ab7a9b7
Show file tree
Hide file tree
Showing 49 changed files with 964 additions and 1,243 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/blog-posts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
git add site/blogposts.config.json
git commit -m 'update blog posts'
git push origin sync-blog-posts
gh pr create -B main -H sync-blog-posts --title 'Update Blog Posts' --body 'Auto-generated by Blog Posts Listener Workflow'
gh pr create -B main -H sync-blog-posts --title 'SWI-3460 Update Blog Posts' --body 'Auto-generated by Blog Posts Listener Workflow'
fi
env:
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/lts-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Create LTS Versions

on:
schedule:
- cron: '0 0 1,16 * *'
- cron: "0 0 1,16 * *"
workflow_dispatch:

jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
if [ $REL_TIME '>' $LTS_TIME ]; then curl -s -X PATCH -H "Accept: application/vnd.github+json" -H "Authorization: token $TOKEN" $GITHUB_API_URL/repos/$GITHUB_REPOSITORY/releases/$REL_ID -d '{"name":"'"${REL_NAME}-LTS"'"}' > /dev/null; echo "new_lts_zip=$REL_ZIP" >> $GITHUB_OUTPUT; echo "release_name=$REL_NAME" >> $GITHUB_OUTPUT; else echo "no_release=true" >> $GITHUB_OUTPUT; fi # If there has been a non-LTS release since the last LTS release, create a new LTS release
env:
TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}

create_lts:
name: Create A New LTS Release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -54,8 +54,8 @@ jobs:
uses: Bandwidth/[email protected]
with:
bucket-name: ${{ steps.bucket_name.outputs.bucket_name }}
bucket-expiration: '180'
bucket-region: 'us-east-1'
bucket-expiration: "180"
bucket-region: "us-east-1"
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
content-path: ./lts/build
Expand All @@ -68,7 +68,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Git and Create Branch
run: |
git config user.email "[email protected]"
Expand All @@ -86,6 +86,6 @@ jobs:
git add site/lts.config.json
git commit -m 'update lts table'
git push origin auto-update-lts
gh pr create -B main -H auto-update-lts --title 'Update LTS Versions Table' --body 'Auto-generated by Create LTS Versions Workflow'
gh pr create -B main -H auto-update-lts --title 'SWI-3486 Update LTS Versions Table' --body 'Auto-generated by Create LTS Versions Workflow'
env:
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}
46 changes: 24 additions & 22 deletions site/blogposts.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
[
{
"categories": [
"Voice"
],
"categoryLinks": [
"https://www.bandwidth.com/blog/category/voice/"
],
"imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Maestro_Fraud-scores-and-how-to-calculate-them.png",
"postLink": "https://www.bandwidth.com/blog/fraud-scores/",
"postTitle": "How to calculate fraud scores in your contact center"
},
{
"categories": [
"CPaaS",
"Voice"
],
"categoryLinks": [
"https://www.bandwidth.com/blog/category/cpaas/",
"https://www.bandwidth.com/blog/category/voice/"
],
"imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Call-center-key-KPIs.png",
"postLink": "https://www.bandwidth.com/blog/top-10-call-center-kpis-to-improve-cx-in-2023/",
"postTitle": "Top 10 Call Center KPIs to Improve CX in 2023"
},
{
"categories": [
"CPaaS"
Expand Down Expand Up @@ -90,27 +114,5 @@
"imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Cloud-Migration.png",
"postLink": "https://www.bandwidth.com/blog/what-is-cloud-migration/",
"postTitle": "What is cloud migration? Cloud migration 101"
},
{
"categories": [
"CPaaS"
],
"categoryLinks": [
"https://www.bandwidth.com/blog/category/cpaas/"
],
"imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_ECL-Teasers_Executives-ECL-Take.png",
"postLink": "https://www.bandwidth.com/blog/enterprise-communications-landscape-overview/",
"postTitle": "An executive’s take on 2023 Enterprise Communications"
},
{
"categories": [
"Messaging"
],
"categoryLinks": [
"https://www.bandwidth.com/blog/category/messaging/"
],
"imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Toll-Free-Verification-1.png",
"postLink": "https://www.bandwidth.com/blog/toll-free-verification-api/",
"postTitle": "Streamline your toll-free number verification with Bandwidth"
}
]
15 changes: 0 additions & 15 deletions site/cypress/e2e/tests/tab_switching.cy.js

This file was deleted.

2 changes: 1 addition & 1 deletion site/docs/messaging/errors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Bandwidth’s error code schema for messaging V2 is comprised of a 4 digit code.

### Bandwidth Detected Client Errors

A 4xx code indicates that Bandwidth or the downstream carrier has identified some element of the message request unacceptable. Repeating the request will produce the same result.
A 4xxx code indicates that Bandwidth or the downstream carrier has identified some element of the message request unacceptable. Repeating the request will produce the same result.

| Code | Description | Friendly Description | Explanation Of Error | Billable |
|:--|:--|:--|:--|:--|
Expand Down
1 change: 0 additions & 1 deletion site/docs/messaging/webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Bandwidth uses HTTP Callbacks webhooks to send events to any publicly addressabl
* All Message callbacks are sent as a list/array `[ {message metadata} ]` to the webhook url in the application.
* You **MUST** Reply with a `HTTP 2xx` status code for _every_ callback/delivery receipt. Bandwidth will retry _every_ callback over the next 24 hours until a `HTTP 2xx` code is received for the callback. After 24 hours, Bandwidth will no longer try to send the callback.
* Bandwidth's Messaging platform has a 10 second timeout for callbacks. This means your server must respond to the callback request within 10 seconds, otherwise the platform will try again at a later time.
* Your server should return a response smaller than 16kB. If the reponse is larger, Bandwidth will not retry the callback.
* Because we guarantee "at least once delivery" of events, it is possible (but not common) to receive duplicate message events. Your server should be able to handle duplicates.

## Inbound Message Webhooks
Expand Down
4 changes: 0 additions & 4 deletions site/docs/numbers/errors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,6 @@ Below is a partial examples of the situations where some given errors can occur:
| 12994 | TnTypeId must not be specified for POST action |
| 12995 | Existing resource cannot be updated with POST. |
| 12996 | Invalid Source specified. Valid Source values: %s |
| 12997 | International vendor settings for vendor with id=%d already exist |
| 12998 | Vendor with id=%d does not exist. |
| 12999 | Account contains SIP Peers that have a Proxy Peer that has not been migrated. |
| 13000 | One of the SIP Peers is used as proxy for migrated account. |
Expand All @@ -2256,8 +2255,6 @@ Below is a partial examples of the situations where some given errors can occur:
| 13005 | Exceeded Max length %s for field %s |
| 13006 | Cannot remove TnType as it is enabled on at least 1 account |
| 13007 | The specified two letter country code is not valid: %s |
| 13008 | The specified vendor id %d is a valid international vendor but is currently flagged as unsupported. |
| 13009 | The specified vendor id %d is not a valid international vendor. |
| 13011 | The format of the requested country %s is not valid |
| 13012 | The requested operation is not valid |
| 13013 | Currently International accounts do not support any of the Number Management features specified |
Expand All @@ -2267,7 +2264,6 @@ Below is a partial examples of the situations where some given errors can occur:
| 13017 | Mm4 termination host(subnet) %s overlaps with addresses that are already in payload. |
| 13018 | SMS host %s overlaps with addresses that are already in payload. |
| 13019 | The specified country region code %s is valid, but not currently supported. |
| 13020 | Cannot remove support for the vendor because it is in use on at least 1 account |
| 13021 | The account ID %s is not on the customer opt-in list |
| 13022 | Id must not be specified for POST action |
| 13023 | IP address must be an IPv4 address in format xxx.xxx.xxx.xxx, where xxx is from 0 - 255. |
Expand Down
4 changes: 4 additions & 0 deletions site/docs/numbers/orderWebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ When an order changes OR when numbers in customer account are impacted due to or
| `Message` | `String` | Message if one was attached as part of the state change. This will often be present in error cases. |
| `Note` | `String` | Body of any note that was attached to the order, if applicable. |
| `CompletedTelephoneNumbers` | List of `<TelephoneNumber>` | List of the completed telephone numbers for Port-in/Port-out/New Number/Disconnect orders in terminal state |
| `LastModifiedDate` | `Date` | Date/Timestamp when the order was last modified. |
| `ActualFocDate` | `Date` | Actual FOC date, provided only if the order is a port-in transitioning to "FOC" status. |

### Example of an Order Notification

Expand All @@ -63,5 +65,7 @@ Content-Type: application/xml; charset=utf-8
<CompletedTelephoneNumbers>
<TelephoneNumber> ... </TelephoneNumber>
</CompletedTelephoneNumbers>
<LastModifiedDate>2023-09-12T15:11:31.705Z</LastModifiedDate>
<ActualFocDate>2023-09-12T00:00:00Z</ActualFocDate>
</Notification>
```
48 changes: 25 additions & 23 deletions site/docs/voice/bxml/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const Highlight = ({children, color}) => (

Bandwidth XML allows you to create a voice application as easily as you create a Web application. Using Bandwidth XML (or BXML) your application handles incoming call events using standard action verbs that are described in XML.

Before we begin creating a new BXML application youll need two things initially setup:
Before we begin creating a new BXML application you'll need two things initially setup:

1. A phone number that is allocated to your Bandwidth Application Platform account and is configured to an application. For instructions on setting up your application, read the [applications](/docs/account/applications/) page

Expand Down Expand Up @@ -59,28 +59,30 @@ If BXML execution ends without performing a webhook, there is an implicit `<Hang

| Verb | Description |
|:------------------------------------------------|:------------------------------------------------------------------------------------------------------|
| [`<Conference>`](/docs/voice/bxml/conference/) | The Conference verb is used to add a call to a conference. |
| [`<Bridge>`](/docs/voice/bxml/bridge/) | The Bridge verb is used to bridge two calls. |
| [`<Pause>`](/docs/voice/bxml/pause/) | The Pause verb is used to delay verb execution for a period of time. |
| [`<Forward>`](/docs/voice/bxml/forward/) | The Forward verb is used to forward an unanswered incoming call to another number. |
| [`<Transfer>`](/docs/voice/bxml/transfer/) | The Transfer verb is used to transfer the call to another number. |
| [`<Ring>`](/docs/voice/bxml/ring/) | The Ring verb is used to play ringing audio on a call. |
| [`<Hangup>`](/docs/voice/bxml/hangup/) | The Hangup verb is used to hang up or reject a call. |
| [`<Redirect>`](/docs/voice/bxml/redirect/) | The Redirect verb is used to redirect the current XML execution to another URL. |
| [`<PlayAudio>`](/docs/voice/bxml/playAudio/) | The PlayAudio verb is used to play an audio file in the call. |
| [`<SpeakSentence>`](/docs/voice/bxml/speakSentence/) | The SpeakSentence verb converts text into audible speech. |
| [`<Record>`](/docs/voice/bxml/record/) | The Record verb allows a segment of audio to be recorded during a call. |
| [`<StartRecording>`](/docs/voice/bxml/startRecording/) | The StartRecording verb allows a segment of a call to be recorded while other verbs are executing. |
| [`<PauseRecording>`](/docs/voice/bxml/pauseRecording/) | The PauseRecording verb is used to pause a recording previously started by a `<StartRecording>` verb. |
| [`<ResumeRecording>`](/docs/voice/bxml/resumeRecording/) | The ResumeRecording verb is used to resume a recording previously paused by a `<PauseRecording>` verb.|
| [`<StopRecording>`](/docs/voice/bxml/stopRecording/) | The StopRecording verb stops a recording that was previously started by a `<StartRecording>`. |
| [`<Gather>`](/docs/voice/bxml/gather/) | The Gather verb is used to collect DTMF digits. |
| [`<StartGather>`](/docs/voice/bxml/startGather/) | The StartGather verb is used to collect DTMF digits during the execution of other verbs. |
| [`<StopGather>`](/docs/voice/bxml/stopGather/) | The StopGather verb stops the DTMF collection initiated by `<StartGather>`. |
| [`<StartStream>`](/docs/voice/bxml/startStream/) | The StartStream verb allows a segment of a call to be streamed to an external destination. |
| [`<StopStream>`](/docs/voice/bxml/stopStream/) | The StopStream verb is used to stop a stream previously started by a `<StartStream>` verb. |
| [`<SendDtmf>`](/docs/voice/bxml/sendDtmf/) | The SendDtmf verb is used to play DTMF digits in the call. |
| [`<Tag>`](/docs/voice/bxml/tag/) | The Tag verb is used to set a new tag value without executing a webhook. |
| [`<Conference>`](/docs/voice/bxml/conference/) | The Conference verb is used to add a call to a conference. |
| [`<Bridge>`](/docs/voice/bxml/bridge/) | The Bridge verb is used to bridge two calls. |
| [`<Pause>`](/docs/voice/bxml/pause/) | The Pause verb is used to delay verb execution for a period of time. |
| [`<Forward>`](/docs/voice/bxml/forward/) | The Forward verb is used to forward an unanswered incoming call to another number. |
| [`<Transfer>`](/docs/voice/bxml/transfer/) | The Transfer verb is used to transfer the call to another number. |
| [`<Ring>`](/docs/voice/bxml/ring/) | The Ring verb is used to play ringing audio on a call. |
| [`<Hangup>`](/docs/voice/bxml/hangup/) | The Hangup verb is used to hang up or reject a call. |
| [`<Redirect>`](/docs/voice/bxml/redirect/) | The Redirect verb is used to redirect the current XML execution to another URL. |
| [`<PlayAudio>`](/docs/voice/bxml/playAudio/) | The PlayAudio verb is used to play an audio file in the call. |
| [`<SpeakSentence>`](/docs/voice/bxml/speakSentence/) | The SpeakSentence verb converts text into audible speech. |
| [`<Record>`](/docs/voice/bxml/record/) | The Record verb allows a segment of audio to be recorded during a call. |
| [`<StartRecording>`](/docs/voice/bxml/startRecording/) | The StartRecording verb allows a segment of a call to be recorded while other verbs are executing. |
| [`<PauseRecording>`](/docs/voice/bxml/pauseRecording/) | The PauseRecording verb is used to pause a recording previously started by a `<StartRecording>` verb. |
| [`<ResumeRecording>`](/docs/voice/bxml/resumeRecording/) | The ResumeRecording verb is used to resume a recording previously paused by a `<PauseRecording>` verb. |
| [`<StopRecording>`](/docs/voice/bxml/stopRecording/) | The StopRecording verb stops a recording that was previously started by a `<StartRecording>`. |
| [`<Gather>`](/docs/voice/bxml/gather/) | The Gather verb is used to collect DTMF digits. |
| [`<StartGather>`](/docs/voice/bxml/startGather/) | The StartGather verb is used to collect DTMF digits during the execution of other verbs. |
| [`<StopGather>`](/docs/voice/bxml/stopGather/) | The StopGather verb stops the DTMF collection initiated by `<StartGather>`. |
| [`<StartStream>`](/docs/voice/bxml/startStream/) | The StartStream verb allows a segment of a call to be streamed to an external destination. |
| [`<StopStream>`](/docs/voice/bxml/stopStream/) | The StopStream verb is used to stop a stream previously started by a `<StartStream>` verb. |
| [`<StartTranscription>`](/docs/voice/bxml/startTranscription/) | The StartTranscription verb allows a segment of a call to be transcribed during the execution of other verbs. |
| [`<StopTranscription>`](/docs/voice/bxml/stopTranscription/) | The StopTranscription verb is used to stop a transcription previously started by a `<StartTranscription>` verb. |
| [`<SendDtmf>`](/docs/voice/bxml/sendDtmf/) | The SendDtmf verb is used to play DTMF digits in the call. |
| [`<Tag>`](/docs/voice/bxml/tag/) | The Tag verb is used to set a new tag value without executing a webhook. |

### BXML Webhooks

Expand Down
Loading

0 comments on commit ab7a9b7

Please sign in to comment.