Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: docwho2/java-chime-voicesdk-sma
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c53a174b62bbd8472f7a42413fc3dac62d05cc23
Choose a base ref
...
head repository: docwho2/java-chime-voicesdk-sma
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b352f75290399468466ce37e1001d5427013c386
Choose a head ref
  • 5 commits
  • 3 files changed
  • 2 contributors

Commits on Sep 29, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bea78aa View commit details

Commits on Oct 1, 2023

  1. add Square IVR example link

    docwho2 committed Oct 1, 2023
    Copy the full SHA
    421fdea View commit details
  2. add workflow

    docwho2 committed Oct 1, 2023
    Copy the full SHA
    312cb1d View commit details

Commits on Oct 2, 2023

  1. doc updates

    docwho2 committed Oct 2, 2023
    Copy the full SHA
    4a2a91e View commit details

Commits on Oct 7, 2023

  1. Update README.md

    docwho2 authored Oct 7, 2023
    Copy the full SHA
    b352f75 View commit details
Showing with 4 additions and 3 deletions.
  1. +1 −1 .github/workflows/maven.yml
  2. BIN PollyPromptCreation/src/main/resources/prompts/ringing.wav
  3. +3 −2 README.md
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: true
submodules: recursive
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Binary file not shown.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -59,6 +59,7 @@ To use the Flow Model:
- Implement the `getInitialAction()` method, which returns the start of the flow.
- Refer to the flow-based [HelloWorld.java](Examples/src/main/java/cloud/cleo/chimesma/examples/actions/HelloWorld.java) example.
- For more in-depth information about using the library and writing applications, please refer to the Library [README](ChimeSMAFlow/README.md).
- Please see [Square Retail ChatGPT IVR](https://github.com/docwho2/java-squareup-chatgpt-ivr) for a full working example deployment.


## Amazon Connect Take Back and Transfer Use Case
@@ -154,7 +155,7 @@ The [Example Flow](Examples/src/main/java/cloud/cleo/chimesma/examples/actions/E

#### Twilio

[Twilio SIP Trunking](https://www.twilio.com/docs/sip-trunking) can be used to send calls into your SMA or the SIP carrier of your choice. For this demo, the Twilio number +1-320-495-2425 will be load balanced across regions. The first prompt in the demo announces the region, so you can observe that calling the above number will land you in either us-east-1 or us-west-2. When configuring the Twilio [Origination Settings](https://www.twilio.com/docs/sip-trunking#origination), you can make use of the "edge" setting to optimize the SIP traffic.
[Twilio SIP Trunking](https://www.twilio.com/docs/sip-trunking) can be used to send calls into your SMA or the SIP carrier of your choice. When configuring the Twilio [Origination Settings](https://www.twilio.com/docs/sip-trunking#origination), you can make use of the "edge" setting to optimize the SIP traffic.

In this case, the first SIP URI references a [Voice Connector](https://docs.aws.amazon.com/chime-sdk/latest/ag/voice-connectors.html) in the us-east-1 region. By adding the "edge=ashburn" parameter in Twilio's configuration, the call will be egressed into AWS within us-east-1. The same applies for the "edge=umatilla" parameter, which is Twilio's edge in Oregon (us-west-2). It's recommended to minimize the traversal of traffic over the internet if possible.

@@ -581,7 +582,7 @@ Before proceeding, it is assumed you have valid AWS credentials setup with the A
To use the SAM CLI, you need the following tools.

* SAM CLI - [Install the SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
* Java17 - [Install the Java 11](https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html)
* Java17 - [Install the Java 17](https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html)
* Maven - [Install Maven](https://maven.apache.org/install.html)

If you have brew installed then